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())
|
||||
return;
|
||||
e.setCancelled(ChatProcessing.ProcessChat(e));
|
||||
} catch (Exception ex) {
|
||||
} catch (NoClassDefFoundError | Exception ex) { // Weird things can happen
|
||||
for (Player p : Bukkit.getOnlinePlayers())
|
||||
if (e.shouldSendTo(p))
|
||||
p.sendMessage("§c!§r["
|
||||
|
|
Loading…
Reference in a new issue