Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-24 23:30:17 +01:00
Sanity check for bad/untracked meta packets
Fixes ViaVersion/ViaVersion#2549 Fixes ViaVersion/ViaVersion#2521
Dieser Commit ist enthalten in:
Ursprung
1dc0f72e54
Commit
3b85200641
@ -393,6 +393,7 @@ public class EntityPackets1_14 extends LegacyEntityRewriter<Protocol1_13_2To1_14
|
||||
|
||||
filter().handler((event, meta) -> {
|
||||
EntityType type = event.entityType();
|
||||
if (type == null) return;
|
||||
if (type.isOrHasParent(Entity1_14Types.ABSTRACT_ILLAGER_BASE) || type == Entity1_14Types.RAVAGER || type == Entity1_14Types.WITCH) {
|
||||
int index = event.index();
|
||||
if (index == 14) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren