Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Null check component rewriter
Dieser Commit ist enthalten in:
Ursprung
45c6cfedb0
Commit
ffc5584b1c
@ -235,8 +235,10 @@ public abstract class EntityRewriter<C extends ClientboundPacketType, T extends
|
||||
rewriteParticle(event.user(), particle);
|
||||
}
|
||||
} else if (type == componentType || type == optionalComponentType) {
|
||||
final Tag component = data.value();
|
||||
protocol.getComponentRewriter().processTag(event.user(), component);
|
||||
if (protocol.getComponentRewriter() != null) {
|
||||
final Tag component = data.value();
|
||||
protocol.getComponentRewriter().processTag(event.user(), component);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren