load mesh data and structure meshes

This commit is contained in:
2024-01-24 19:03:33 -06:00
parent 92d8ed9e3f
commit 7f6fbd2bff
2 changed files with 16 additions and 3 deletions
+13
View File
@@ -1889,6 +1889,19 @@ public class Mob extends AbstractIntelligenceAgent implements Delayed {
}
}
public Boolean isGuard(){
switch(this.behaviourType){
case GuardMinion:
case GuardCaptain:
case GuardWallArcher:
case HamletGuard:
case SimpleStandingGuard:
return true;
}
return false;
}
@Override
public long getDelay(@NotNull TimeUnit unit) {
long timeRemaining = this.respawnTime - System.currentTimeMillis();