diff options
author | Novatux <nathanael.courant@laposte.net> | 2015-07-25 14:29:57 +0200 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2015-07-25 14:29:57 +0200 |
commit | bedcf4d6467c987a1ef29088d363f9cea1b095db (patch) | |
tree | e7c731e47a2acff055758b95c18a20cbf4b9a621 | |
parent | 8e642df6a2c646585805ffe14b289617ca62c9ff (diff) | |
download | pipeworks-bedcf4d6467c987a1ef29088d363f9cea1b095db.tar pipeworks-bedcf4d6467c987a1ef29088d363f9cea1b095db.tar.gz pipeworks-bedcf4d6467c987a1ef29088d363f9cea1b095db.tar.bz2 pipeworks-bedcf4d6467c987a1ef29088d363f9cea1b095db.tar.xz pipeworks-bedcf4d6467c987a1ef29088d363f9cea1b095db.zip |
Try to fix items dropping in unloaded areas
-rw-r--r-- | item_transport.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/item_transport.lua b/item_transport.lua index fb9f626..0bb315d 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -55,6 +55,7 @@ local function go_next(pos, velocity, stack) end for _, vect in ipairs(can_go) do local npos = vector.add(pos, vect) + minetest.load_position(npos) local node = minetest.get_node(npos) local reg_node = minetest.registered_nodes[node.name] if reg_node then |