diff options
Diffstat (limited to 'railtrack/railtrack.lua')
-rw-r--r-- | railtrack/railtrack.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railtrack/railtrack.lua b/railtrack/railtrack.lua index 9b4c2c9..ffb18d1 100644 --- a/railtrack/railtrack.lua +++ b/railtrack/railtrack.lua @@ -46,12 +46,6 @@ railtrack.default_rail = { railtrack:update_rails(pos) end, after_destruct = function(pos, oldnode) - if not minetest.is_singleplayer() then - if not minetest.check_player_privs(name, {rails=true}) then - minetest.chat_send_player(name, "Requires rails privilege") - minetest.set_node(pos, oldnode) - end - end local cons = railtrack:get_connections(pos) for _, p in pairs(cons) do railtrack:update_rails(p) |