Added min-game-version 105 enforcement

This commit is contained in:
Anuken
2020-09-09 16:40:08 -04:00
parent 6787bbdc05
commit c03e3f56aa
8 changed files with 60 additions and 11 deletions

View File

@@ -75,6 +75,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
if(sensor == LAccess.totalItems) return stack().amount;
if(sensor == LAccess.rotation) return rotation;
if(sensor == LAccess.health) return health;
if(sensor == LAccess.maxHealth) return maxHealth;
if(sensor == LAccess.x) return x;
if(sensor == LAccess.y) return y;
if(sensor == LAccess.team) return team.id;