-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Server crash #39
Comments
https://github.com/Uberi/Minetest-WorldEdit/blob/master/worldedit_commands/safe.lua#L39 func = function(name, param) same with L61 |
//y and //n do not use (name, param) from the chatcommand. Instead, they get whatever was saved by safe_region. |
Oops, my bad, I'll get on that ASAP. |
Fixed in 4660927! Thanks for the report ChaosWormz and thanks for the explanation khonkhortisan. |
11:54:37: ERROR[main]: ERROR: An unhandled exception occurred: ...test/mods/Minetest-WorldEdit/worldedit_commands/init.lua:36: bad argument #1 to 'chat_send_player' (string expected, got nil)
11:54:37: ERROR[main]: stack traceback:
11:54:37: ERROR[main]: [C]: in function 'chat_send_player'
11:54:37: ERROR[main]: ...test/mods/Minetest-WorldEdit/worldedit_commands/init.lua:36: in function 'player_notify'
11:54:37: ERROR[main]: ...test/mods/Minetest-WorldEdit/worldedit_commands/safe.lua:42: in function 'func'
11:54:37: ERROR[main]: /usr/share/minetest/builtin/chatcommands.lua:25: in function </usr/share/minetest/builtin/chatcommands.lua:16>
11:54:37: ERROR[main]: /usr/share/minetest/builtin/misc_register.lua:348: in function </usr/share/minetest/builtin/misc_register.lua:336>
In thread b6c96700:
/build/buildd/minetest-201404190451/src/main.cpp:1887: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b4bffb40:
#0 virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD b6c96700:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 virtual void Database_SQLite3::saveBlock(MapBlock*))
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
The text was updated successfully, but these errors were encountered: