mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-05 18:09:37 +01:00
Handle null pointer exceptions when dynmap is broken.
This commit is contained in:
parent
198d70a332
commit
6aac9c0988
@ -49,6 +49,10 @@ public class DynmapHook {
|
||||
if (message == null) {
|
||||
return;
|
||||
}
|
||||
dynmapAPI.sendBroadcastToWeb(nick, message);
|
||||
try {
|
||||
dynmapAPI.sendBroadcastToWeb(nick, message);
|
||||
} catch (Exception ex) {
|
||||
plugin.logError("DynmapHook:sendMessage: " + ex.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user