1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-05-16 15:16:23 +02:00

Attempted fix for CombatTag dupe glitch - don't apply AoE damage to

NPCs.
This commit is contained in:
gmcferrin 2013-01-10 12:18:08 -05:00
parent 621f739831
commit ec6b9d4387

@ -335,6 +335,12 @@ public class Combat {
}
for (Entity entity : target.getNearbyEntities(2.5, 2.5, 2.5)) {
if (entity instanceof Player) {
if (Misc.isCitizensNPC((Player) entity)) {
continue;
}
}
if (!(entity instanceof LivingEntity)) {
continue;
}