02-20-2015, 01:46 PM
I have been attempting to write a plugin which, upon the user pressing a button, teleports the user to a location specified on a sign relative to the back side of the button. When I push the button, MCServer crashes.
Plugin File: http://pastebin.com/b9eVGa8v
Related log entries: http://pastebin.com/fLn7r4KY
Based on the log entries, the game seems to crash when the log statment is executed for GoY on line 64.
I have tested this code in Lua and it _should_ work. Even so, there should be no reason for MCServer crashing due to a Lua plugin.
So... I am not sure if I am doing something wrong or if there is a problem with the MCServer code. Does anyone have a solution to this problem?
Also, pardon some of my code comments. I know at least one of them is misleading
Plugin File: http://pastebin.com/b9eVGa8v
Related log entries: http://pastebin.com/fLn7r4KY
Based on the log entries, the game seems to crash when the log statment is executed for GoY on line 64.
I have tested this code in Lua and it _should_ work. Even so, there should be no reason for MCServer crashing due to a Lua plugin.
So... I am not sure if I am doing something wrong or if there is a problem with the MCServer code. Does anyone have a solution to this problem?
Also, pardon some of my code comments. I know at least one of them is misleading