1
0
Fork 0

Revert "Attemp to fix #1513" in favour of next commit 3375e903ce

This reverts commit f5f6e232cc.
mineclone5
kay27 2021-04-09 19:03:45 +04:00
parent 1cb060ea08
commit 3addd4ebb1
1 changed files with 2 additions and 4 deletions

View File

@ -51,10 +51,8 @@ local equals = vector.equals
local get_node_force = mesecon.get_node_force
local invertRule = mesecon.invertRule
local copy, insert = table.copy, table.insert
local registered_nodes
minetest.register_on_mods_loaded(function()
registered_nodes = minetest.registered_nodes
end)
local registered_nodes = minetest.registered_nodes
-- General
function mesecon.get_effector(nodename)
if registered_nodes[nodename]