geforkt von Mirrors/Velocity
Merge pull request #895 from RoccoDev/fix/1.19.3-legacy-cancel
regression: fix legacy chat cancelling on < 1.19
Dieser Commit ist enthalten in:
Commit
cc7d199f47
@ -45,7 +45,7 @@ public class LegacyChatHandler implements ChatHandler<LegacyChat> {
|
||||
}
|
||||
this.server.getEventManager().fire(new PlayerChatEvent(this.player, packet.getMessage()))
|
||||
.whenComplete((chatEvent, throwable) -> {
|
||||
if (chatEvent.getResult().isAllowed()) {
|
||||
if (!chatEvent.getResult().isAllowed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren