Fix crash

This commit is contained in:
ElCeejo 2022-08-05 17:55:30 -07:00 committed by GitHub
parent 8ea75ec64c
commit e59d517a23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1106,7 +1106,7 @@ function mob:_execute_utilities()
end end
end end
local dtime = self.dtime local dtime = self.dtime
self.dtime = dtime + self.step_delay self.dtime = dtime + (self.step_delay or 0)
if func(self) then if func(self) then
self._utility_data = { self._utility_data = {
utility = nil, utility = nil,