Removed the null from "Same behavior continues."
This commit is contained in:
parent
f1877e38a4
commit
8ed5841160
@ -609,7 +609,7 @@ public class GriefAlert extends JavaPlugin implements Listener, TabCompleter {
|
||||
}
|
||||
// Send an event for external hooks
|
||||
GriefAlertEvent griefalert_event;
|
||||
if (MAP_LINK != null && !MAP_LINK.isEmpty()) {
|
||||
if (MAP_LINK != null && !MAP_LINK.isEmpty() && mapLink != null) {
|
||||
griefalert_event = new GriefAlertEvent(message + " (" + mapLink + ")");
|
||||
} else {
|
||||
griefalert_event = new GriefAlertEvent(message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user