Update src/main/java/net/ardakaz/griefalert/GriefAlert.java
removed some unneeded cancel events
This commit is contained in:
@@ -280,7 +280,6 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
int z = armorStand.getLocation().getBlockZ();
|
||||
String worldName = armorStand.getWorld().getName();
|
||||
if (isLocationIgnored(x, y, z, worldName)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
String playerName = player.getName();
|
||||
@@ -301,7 +300,6 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
int z = armorStand.getLocation().getBlockZ();
|
||||
String worldName = armorStand.getWorld().getName();
|
||||
if (isLocationIgnored(x, y, z, worldName)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
String target = inspectBlock(armorStand.getLocation().getBlock(), player);
|
||||
|
||||
Reference in New Issue
Block a user