|
|
@ -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)"; |
|
|
|