Skip to content

Commit ced08f4

Browse files
committed
Remove debug code I forgot to remove
1 parent 8675974 commit ced08f4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Plugin/src/main/java/net/blitzcube/peapi/packet/EntitySpawnPacket.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ public class EntitySpawnPacket extends EntityPacket implements IEntitySpawnPacke
8080
ENTITY_TYPE_IDS.put(EntityType.ZOMBIE_HORSE, 88);
8181
ENTITY_TYPE_IDS.put(EntityType.ZOMBIE_VILLAGER, 89);
8282
ENTITY_TYPE_IDS.put(EntityType.PHANTOM, 90);
83-
84-
boolean allMatch = true;
85-
for(Map.Entry<EntityType, Integer> e : ENTITY_TYPE_IDS.entrySet()){
86-
System.out.println(e.getKey().name() + " - Mapped value was " + e.getValue() + ". Ordinal is " + e.getKey().ordinal());
87-
if(e.getKey().ordinal() != e.getValue()) allMatch = false;
88-
}
89-
System.out.println(allMatch ? "They all matched" : "Something didn't match.");
9083
}
9184

9285
private EntityType type;

0 commit comments

Comments
 (0)