mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Revert "Attemp to fix #1513" in favour of next commit 3375e903ce
This reverts commit f5f6e232cc9e1f6e33810a8b04a8f652fb90091e.
This commit is contained in:
parent
3375e903ce
commit
d50fd06c82
@ -51,10 +51,8 @@ local equals = vector.equals
|
|||||||
local get_node_force = mesecon.get_node_force
|
local get_node_force = mesecon.get_node_force
|
||||||
local invertRule = mesecon.invertRule
|
local invertRule = mesecon.invertRule
|
||||||
local copy, insert = table.copy, table.insert
|
local copy, insert = table.copy, table.insert
|
||||||
local registered_nodes
|
local registered_nodes = minetest.registered_nodes
|
||||||
minetest.register_on_mods_loaded(function()
|
|
||||||
registered_nodes = minetest.registered_nodes
|
|
||||||
end)
|
|
||||||
-- General
|
-- General
|
||||||
function mesecon.get_effector(nodename)
|
function mesecon.get_effector(nodename)
|
||||||
if registered_nodes[nodename]
|
if registered_nodes[nodename]
|
||||||
|
Loading…
Reference in New Issue
Block a user