Update EntityListener.java (#4169)

Remove debug broadcasts
This commit is contained in:
Mads U. Jensen 2020-04-25 19:32:39 +02:00 committed by GitHub
parent 5984230bf3
commit 76536f0a18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,6 @@ public class EntityListener implements Listener {
if(WorldGuardUtils.isWorldGuardLoaded())
{
if(attacker instanceof Player) {
Bukkit.broadcastMessage("(Player attacked something) EntityDamageEvent fired!");
if(!WorldGuardManager.getInstance().hasMainFlag((Player) attacker))
return;