check if message null return
https://stackoverflow.com/questions/22362456/java-lang-nullpointerexception-in-string-replace
This commit is contained in:
parent
c255802154
commit
95d9573f32
|
@ -2779,6 +2779,11 @@ public final class PurpleBot {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// https://github.com/cnaude/PurpleIRC-spigot/issues/49
|
||||
if (message == null){
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
Send messages to Dynmap if enabled
|
||||
|
|
Loading…
Reference in New Issue