mirror of
https://code.chipmunk.land/ChomeNS/chipmunkmod.git
synced 2025-11-13 22:16:14 +00:00
fix: the previous commit
This commit is contained in:
parent
6264013c6b
commit
422b67597f
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ public class CustomChat {
|
||||||
public void chat (String message) {
|
public void chat (String message) {
|
||||||
final ClientPlayerEntity player = client.player;
|
final ClientPlayerEntity player = client.player;
|
||||||
|
|
||||||
if (player != null) return;
|
if (player == null) return;
|
||||||
|
|
||||||
if (!enabled || !player.hasPermissionLevel(2) || !player.isCreative()) {
|
if (!enabled || !player.hasPermissionLevel(2) || !player.isCreative()) {
|
||||||
Chat.sendChatMessage(message, true);
|
Chat.sendChatMessage(message, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue