-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make sure the server does not crash when trying to change bags in the inventory while cloaked #248
base: master
Are you sure you want to change the base?
Conversation
… inventory while cloaked
@SmallJoker minor bugfix that does not change behaviour, just adds more defensive code |
Reproduced.
|
Why does EDIT: Whatever this mod does, it also affects 3d_armor when trying to move items:
|
@SmallJoker Though I would like to find a better solution later on to make using bags possible, but I think that's a minetest problem - can't access a player's inventory when offline (which is annoying because you can't find accounts with suspicious items who rarely log on) |
@oversword |
@SmallJoker I took another look, I'm not sure Which basically lets you tell when someone is cloaking or uncloaking during the leaveplayer and joinplayer callbacks, this can be used to prevent detatching the inventories |
When using the cloaking mod, and cloaking yourself using
/cloak
to cloak yourself, this error is thrown when you try to look in one of your bags:This MR ensures the server will not crash if the bag inventory cannot be found