More print cleanup

This commit is contained in:
Eric Stokes 2011-06-18 14:59:20 -06:00
parent 20c3b516cc
commit 69bffd87c7
2 changed files with 3 additions and 3 deletions

View File

@ -69,12 +69,12 @@ public class MVWorld {
this.animalList.clear(); this.animalList.clear();
for (String s : temp) { for (String s : temp) {
this.animalList.add(s.toUpperCase()); this.animalList.add(s.toUpperCase());
System.out.print(s); //System.out.print(s);
} }
temp = config.getStringList("worlds." + name + ".monsters.exceptions", monsterList); temp = config.getStringList("worlds." + name + ".monsters.exceptions", monsterList);
for (String s : temp) { for (String s : temp) {
this.monsterList.add(s.toUpperCase()); this.monsterList.add(s.toUpperCase());
System.out.print(s); //System.out.print(s);
} }
config.setProperty("worlds." + this.name + ".environment", this.environment.toString()); config.setProperty("worlds." + this.name + ".environment", this.environment.toString());
if(seed != null) { if(seed != null) {

View File

@ -243,7 +243,7 @@ public class MultiverseCore extends JavaPlugin {
MVWorld mvworld = worlds.get(key); MVWorld mvworld = worlds.get(key);
List<String> monsters = mvworld.monsterList; List<String> monsters = mvworld.monsterList;
List<String> animals = mvworld.animalList; List<String> animals = mvworld.animalList;
System.out.print(monsters.size() + " - " + animals.size()); System.out.print("Monster Size:" + monsters.size() + " - " + "Animal Size: " + animals.size());
for (Entity e : world.getEntities()) { for (Entity e : world.getEntities()) {
// Check against Monsters // Check against Monsters
if (e instanceof Creeper || e instanceof Skeleton || e instanceof Spider || e instanceof Zombie || e instanceof Ghast || e instanceof PigZombie || e instanceof Giant || e instanceof Slime || e instanceof Monster) { if (e instanceof Creeper || e instanceof Skeleton || e instanceof Spider || e instanceof Zombie || e instanceof Ghast || e instanceof PigZombie || e instanceof Giant || e instanceof Slime || e instanceof Monster) {