From 7dbdd70784780fe9c17c816663232a5cdd18322c Mon Sep 17 00:00:00 2001 From: Gustavo Ramos Rehermann Date: Wed, 9 Feb 2022 03:36:47 -0300 Subject: [PATCH] Fix set_velocity calls to item entity objs in dropper and dispenser code --- mods/ITEMS/REDSTONE/mcl_dispensers/init.lua | 2 +- mods/ITEMS/REDSTONE/mcl_droppers/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua b/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua index 1fa4df137..705466a38 100644 --- a/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua @@ -275,7 +275,7 @@ local dispenserdef = { z = newv.z * shoot_force } - dropitemobj.set_velocity(newv) + dropitemobj:set_velocity(newv) end end diff --git a/mods/ITEMS/REDSTONE/mcl_droppers/init.lua b/mods/ITEMS/REDSTONE/mcl_droppers/init.lua index 852231836..412c4d577 100644 --- a/mods/ITEMS/REDSTONE/mcl_droppers/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_droppers/init.lua @@ -148,7 +148,7 @@ local dropperdef = { z = newv.z * shoot_force } - dropitemobj.set_velocity(newv) + dropitemobj:set_velocity(newv) end end end,