1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 02:12:58 +01:00

Fixed inspect not working from console

This commit is contained in:
nossr50
2012-02-29 12:07:47 -08:00
parent 652a27eb38
commit 4ab71bcf36
2 changed files with 5 additions and 4 deletions

View File

@@ -83,8 +83,8 @@ public class Combat
Axes.axeCriticalCheck(attacker, event, pluginx); //Critical hit
//Impact
if(event.getEntity() instanceof LivingEntity)
Axes.impact(attacker, (LivingEntity)event.getEntity());
//if(event.getEntity() instanceof LivingEntity)
// Axes.impact(attacker, (LivingEntity)event.getEntity());
if (!(event instanceof FakeEntityDamageByEntityEvent) && PPa.getSkullSplitterMode())
Axes.applyAoeDamage(attacker, event, pluginx);