Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix crash when fake player dig slade (#46)
When a fake player, for example a node, dig slade, it return player ~= nil but it is not a current player, the server_diggable_only function tries to check the privs of the node, then this crashes Here we use the built-in check player:is_player() so the node privs are not checked This crash occurred in the technic mod when the corium eats the slade
- Loading branch information