mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 01:13:02 +00:00
Fix item entity jittering after falling on floor
This commit is contained in:
parent
e99dd9d085
commit
db26ba2191
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue