1
0
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:
nossr50
2019-09-24 16:44:23 -07:00
parent 564b8ceb94
commit 3552457790
40 changed files with 133 additions and 165 deletions

View File

@@ -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)) {