1
0
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:
tenplus1
2025-04-04 10:12:46 +01:00
parent 5fb7b91db0
commit 854834f04e
3 changed files with 20 additions and 7 deletions

8
compatibility.lua Normal file
View 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