mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-31 22:59:35 +01:00
Fixed bug where admin chat was displayed to the whole server.
This commit is contained in:
parent
b84478898d
commit
f7ee96aa99
@ -357,6 +357,8 @@ public class PlayerListener implements Listener {
|
|||||||
p.sendMessage(prefix + chatEvent.getMessage());
|
p.sendMessage(prefix + chatEvent.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user