Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-16 21:10:25 +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