mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-07 19:31:57 +01:00
More print cleanup
This commit is contained in:
parent
20c3b516cc
commit
69bffd87c7
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user