mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-04-19 03:50:24 +02:00
13 lines
348 B
Lua
13 lines
348 B
Lua
|
|
-- called after mob registration to check for older settings
|
|
|
|
function mobs.compatibility_check(self)
|
|
|
|
-- simple mobs rotation setting
|
|
if self.drawtype == "side" then self.rotate = math.rad(90) end
|
|
|
|
-- replace floats var from number to bool
|
|
if self.floats == 1 then self.floats = true
|
|
elseif self.floats == 0 then self.floats = false end
|
|
end
|