mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 14:36:03 +02:00
deprecate self.jump and add mobs.compatibility_check function.
This commit is contained in:
8
compatibility.lua
Normal file
8
compatibility.lua
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
-- 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
|
||||
end
|
Reference in New Issue
Block a user