Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
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