diff options
author | Brandon <brandon@bremaweb.com> | 2013-07-02 11:43:17 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2013-07-02 11:43:17 -0500 |
commit | f1ef00552933aa90b1499d2ecc7ff4d4b7c1f6af (patch) | |
tree | 7d46558f8b1b7e2e11bf2ea2fc51a8c0a31bf674 | |
parent | 5f2172a2c9ec7de6ef8824f53b3a0f482ab4699f (diff) |
fix bug where ghoststones would cause protection warnings
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -162,7 +162,7 @@ landrush.default_dig = minetest.node_dig -- Redefined Lua: function minetest.node_dig(pos, node, digger) local player = digger:get_player_name() - if landrush.can_interact(player, pos) then + if landrush.can_interact(player, pos) or player == "" then landrush.default_dig(pos, node, digger) else local owner = landrush.get_owner(pos) |