mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-01 15:03:36 +01:00
Dint show empty messages in action bar allow to disable them
This commit is contained in:
parent
d009b5b782
commit
80c90f1232
@ -119,7 +119,7 @@ public class ActionBar {
|
|||||||
|
|
||||||
public void send(CommandSender receivingPacket, String msg) {
|
public void send(CommandSender receivingPacket, String msg) {
|
||||||
try {
|
try {
|
||||||
if (msg == null || nmsChatSerializer == null)
|
if (msg == null || nmsChatSerializer == null || msg.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (receivingPacket == null)
|
if (receivingPacket == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user