Added handling if a class... doesn't exist
This commit is contained in:
parent
840b522a98
commit
35ccf22a55
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ public class PlayerListener implements Listener {
|
||||||
if (e.isCancelled())
|
if (e.isCancelled())
|
||||||
return;
|
return;
|
||||||
e.setCancelled(ChatProcessing.ProcessChat(e));
|
e.setCancelled(ChatProcessing.ProcessChat(e));
|
||||||
} catch (Exception ex) {
|
} catch (NoClassDefFoundError | Exception ex) { // Weird things can happen
|
||||||
for (Player p : Bukkit.getOnlinePlayers())
|
for (Player p : Bukkit.getOnlinePlayers())
|
||||||
if (e.shouldSendTo(p))
|
if (e.shouldSendTo(p))
|
||||||
p.sendMessage("§c!§r["
|
p.sendMessage("§c!§r["
|
||||||
|
|
Loading…
Reference in a new issue