remove nic override
This commit is contained in:
parent
1d1e009019
commit
f5e7719848
18
hacks.lua
18
hacks.lua
@ -20,24 +20,6 @@ end
|
||||
-- there are still problems with the ipv6 range comming in from a single ipv4 ip
|
||||
minetest.unregister_chatcommand("ban")
|
||||
|
||||
-- fix digiline nic functionality temporarily
|
||||
-- issue: https://github.com/pandorabox-io/pandorabox.io/issues/539
|
||||
if minetest.get_modpath("digistuff") and minetest.registered_nodes["digistuff:nic"] then
|
||||
local old_action = minetest.registered_nodes["digistuff:nic"].digiline.effector.action
|
||||
minetest.override_item("digistuff:nic",{
|
||||
digiline = {
|
||||
receptor = {},
|
||||
effector = {
|
||||
action = function(pos,node,channel,msg)
|
||||
if type(msg) ~= "string" then return end
|
||||
msg = string.gsub(msg, "%s", "%%20")
|
||||
return old_action(pos,node,channel,msg)
|
||||
end
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- prevent big towers of papyrus and bamboo from being auto-dug
|
||||
-- https://github.com/pandorabox-io/pandorabox.io/issues/611
|
||||
function default.dig_up(pos, node, digger)
|
||||
|
Loading…
x
Reference in New Issue
Block a user