Browse Source

Unused methods removed.

combat-2
MagicBot 1 year ago
parent
commit
4d6e57257c
  1. 17
      src/engine/objects/Mob.java

17
src/engine/objects/Mob.java

@ -760,18 +760,6 @@ public class Mob extends AbstractIntelligenceAgent {
return currentID; return currentID;
} }
public float getSpawnX() {
return this.statLat;
}
public float getSpawnY() {
return this.statAlt;
}
public float getSpawnZ() {
return this.statLon;
}
public float getSpawnRadius() { public float getSpawnRadius() {
return this.spawnRadius; return this.spawnRadius;
} }
@ -780,11 +768,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.spawnTime = value; this.spawnTime = value;
} }
//use getSpawnTime instead. This is just for init tables
public int getTrueSpawnTime() {
return this.spawnTime;
}
public String getSpawnTimeAsString() { public String getSpawnTimeAsString() {
if (this.spawnTime == 0) if (this.spawnTime == 0)
return MBServerStatics.DEFAULT_SPAWN_TIME_MS / 1000 + " seconds (Default)"; return MBServerStatics.DEFAULT_SPAWN_TIME_MS / 1000 + " seconds (Default)";

Loading…
Cancel
Save