Make all MA weapons unbreakable (temporary).

This commit is contained in:
Andreas Troelsen 2013-03-21 23:32:35 +01:00
parent dd5924adc1
commit 09d9605bb2

View File

@ -540,6 +540,9 @@ public class ArenaListener
return;
}
// Dirty hack for invincible weapons
p.getInventory().getContents()[p.getInventory().getHeldItemSlot()].setDurability((short) 0);
ArenaPlayerStatistics aps = arena.getArenaPlayer(p).getStats();
aps.add("dmgDone", event.getDamage());
aps.inc("hits");