This commit is contained in:
parent
bbeda2ddaa
commit
1614e7ee49
|
@ -27,6 +27,8 @@ public abstract class DecoratedMessage {
|
|||
|
||||
@ModifyVariable(method = "handleDecoratedMessage", at = @At(value = "HEAD"), argsOnly = true)
|
||||
public @NotNull SignedMessage modifyChatMessageSentByPlayers(@NotNull SignedMessage original) {
|
||||
if(AnimalRP.noChat.get(player.getUuid()) != null) return original;
|
||||
|
||||
Animal animal = AnimalRP.users.get(player.getUuid());
|
||||
if (animal == null)
|
||||
return original;
|
||||
|
|
Loading…
Reference in a new issue