Update src/main/java/net/ardakaz/griefalert/GriefAlert.java
2nd try to frickign update this BS (also removed cancel stuff)
This commit is contained in:
@@ -346,7 +346,6 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
int z = frame.getLocation().getBlockZ();
|
||||
String worldName = frame.getWorld().getName();
|
||||
if (isLocationIgnored(x, y, z, worldName)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
String target = inspectBlock(frame.getLocation().getBlock(), player);
|
||||
@@ -385,7 +384,6 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
String worldName = frame.getWorld().getName();
|
||||
|
||||
if (isLocationIgnored(x, y, z, worldName)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -413,7 +411,6 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
String worldName = loc.getWorld().getName();
|
||||
|
||||
if (isLocationIgnored(x, y, z, worldName)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
String target = inspectBlock(loc.getBlock(), player);
|
||||
|
||||
Reference in New Issue
Block a user