3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

Remove unused method from MetaIndex

Dieser Commit ist enthalten in:
Myles 2016-03-01 23:15:08 +00:00
Ursprung 2de176e55c
Commit 1445bd37c3

Datei anzeigen

@ -159,16 +159,6 @@ public enum MetaIndex {
return this.clazz; return this.clazz;
} }
public static MetaIndex getIndex(Entity entity, int index) {
EntityType type;
if (entity instanceof Player) {
type = EntityType.PLAYER;
} else {
type = entity.getType();
}
return getIndex(type, index);
}
public static MetaIndex getIndex(EntityType type, int index) { public static MetaIndex getIndex(EntityType type, int index) {
Class<? extends org.bukkit.entity.Entity> entityClass = type.getEntityClass(); Class<? extends org.bukkit.entity.Entity> entityClass = type.getEntityClass();
if(entityClass == null){ if(entityClass == null){