diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java index 2571aed7..74a74ac7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java @@ -1206,14 +1206,15 @@ public class MagicValues { register(SoundCategory.AMBIENT, 8); register(SoundCategory.VOICE, 9); - // Handle some protocol version translators that may send -1 for untranslatable sound IDs. - // Choice of sound is based on what (I think?) vanilla would default to. - register(BuiltinSound.ENTITY_ITEM_PICKUP, -1); - for(BuiltinSound sound : BuiltinSound.values()) { register(sound, sound.ordinal()); register(sound, sound.getName()); } + + // Handle some protocol version translators that may send -1 for untranslatable IDs. + // Choics are based on what (I think?) vanilla would default to. + register(MobType.PIG, -1); + register(BuiltinSound.ENTITY_ITEM_PICKUP, -1); } private MagicValues() {