mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
parent
5984230bf3
commit
76536f0a18
@ -290,7 +290,6 @@ public class EntityListener implements Listener {
|
|||||||
if(WorldGuardUtils.isWorldGuardLoaded())
|
if(WorldGuardUtils.isWorldGuardLoaded())
|
||||||
{
|
{
|
||||||
if(attacker instanceof Player) {
|
if(attacker instanceof Player) {
|
||||||
Bukkit.broadcastMessage("(Player attacked something) EntityDamageEvent fired!");
|
|
||||||
|
|
||||||
if(!WorldGuardManager.getInstance().hasMainFlag((Player) attacker))
|
if(!WorldGuardManager.getInstance().hasMainFlag((Player) attacker))
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user