mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-09-28 16:11:52 +02:00
Fix random crash
This commit is contained in:
parent
c831da2c02
commit
eb7ae5e10e
@ -85,6 +85,11 @@ end
|
||||
-- states are executed here
|
||||
local land_state_execution = function(self,dtime)
|
||||
|
||||
--no collisionbox exception
|
||||
if not self.object:get_properties() then
|
||||
return
|
||||
end
|
||||
|
||||
local pos = self.object:get_pos()
|
||||
local collisionbox = self.object:get_properties().collisionbox
|
||||
--get the center of the mob
|
||||
|
Loading…
Reference in New Issue
Block a user