Dieser Commit ist enthalten in:
Ursprung
cf9b3ddf22
Commit
c1ea028529
@ -63,7 +63,7 @@ public class ProtocolWrapper8 implements ProtocolWrapper {
|
|||||||
spawnType = Reflection.getField(ProtocolWrapper.spawnPacket, entityTypes, 0);
|
spawnType = Reflection.getField(ProtocolWrapper.spawnPacket, entityTypes, 0);
|
||||||
types.put(EntityType.ARMOR_STAND, 1);
|
types.put(EntityType.ARMOR_STAND, 1);
|
||||||
for(EntityType type : new EntityType[]{EntityType.PRIMED_TNT, EntityType.ARROW, EntityType.FIREBALL, EntityType.ITEM_FRAME, EntityType.FALLING_BLOCK})
|
for(EntityType type : new EntityType[]{EntityType.PRIMED_TNT, EntityType.ARROW, EntityType.FIREBALL, EntityType.ITEM_FRAME, EntityType.FALLING_BLOCK})
|
||||||
types.put(type, Reflection.getField(entityTypes, type.name(), entityTypes).get(null));
|
types.put(type, Reflection.getField(entityTypes, type != EntityType.PRIMED_TNT ? type.name() : "TNT", entityTypes).get(null));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren