1
0
Fork 0

Fix item entity jittering after falling on floor

This commit is contained in:
Wuzzy 2017-05-27 17:06:32 +02:00
parent e99dd9d085
commit db26ba2191
1 changed files with 0 additions and 6 deletions

View File

@ -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