mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-21 11:13:00 +01:00
Static Abuse Removal - Misc (now MiscTools)
This commit is contained in:
@@ -123,7 +123,7 @@ public class EventManager {
|
||||
Entity entity = entityDamageEvent.getEntity();
|
||||
|
||||
//Check to make sure the entity is not an NPC
|
||||
if(Misc.isNPCEntityExcludingVillagers(entity))
|
||||
if(pluginRef.getMiscTools().isNPCEntityExcludingVillagers(entity))
|
||||
return false;
|
||||
|
||||
if (!entity.isValid() || !(entity instanceof LivingEntity)) {
|
||||
|
||||
Reference in New Issue
Block a user