Cuberite Forum

Full Version: Check if there are mobs alive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(05-08-2013, 06:13 AM)xoft Wrote: [ -> ]What else can I tell you? You didn't say what the error was, you didn't post your code, nothing. So there's really nothing else I can say.
The error is with the code you post there. Error with GetWorld (a nil value)
What is the exact error message?

Either your Player object is nil, so you cannot call GetWorld() on it, or the player is not inside a world yet, so GetWorld() returns a nil world, or there's a bug in the generated Lua bindings code.
Pages: 1 2 3