Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-24 15:20:19 +01:00
Merge remote-tracking branch 'origin/master' into dev
Dieser Commit ist enthalten in:
Commit
c6f25bf33f
@ -283,7 +283,6 @@ public class BlockItemPackets1_14 extends com.viaversion.viabackwards.api.rewrit
|
|||||||
Item item = wrapper.read(Type.FLAT_VAR_INT_ITEM);
|
Item item = wrapper.read(Type.FLAT_VAR_INT_ITEM);
|
||||||
int armorType = item == null || item.identifier() == 0 ? 0 : item.identifier() - 726;
|
int armorType = item == null || item.identifier() == 0 ? 0 : item.identifier() - 726;
|
||||||
if (armorType < 0 || armorType > 3) {
|
if (armorType < 0 || armorType > 3) {
|
||||||
ViaBackwards.getPlatform().getLogger().warning("Received invalid horse armor: " + item);
|
|
||||||
wrapper.cancel();
|
wrapper.cancel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren