From db26ba219187ef2ecbe60e9e6015e398315c851c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 27 May 2017 17:06:32 +0200 Subject: [PATCH] Fix item entity jittering after falling on floor --- mods/ENTITIES/mcl_item_entity/init.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 4515488e..d29b27a6 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -393,12 +393,6 @@ core.register_entity(":__builtin:item", { self.physical_state = false self.object:set_properties({physical = false}) return - elseif self.physical_state == false then - -- Start falling again if map has been loaded again - self.object:setacceleration({x = 0, y = -get_gravity(), z = 0}) - self.physical_state = true - self.object:set_properties({physical = true}) - return end -- Destroy item in lava or special nodes