Minor refactoring & cleanup.

This commit is contained in:
GJ
2012-05-18 13:40:21 -04:00
parent a622707608
commit 146f832919
9 changed files with 98 additions and 98 deletions

View File

@ -87,7 +87,7 @@ public class Archery {
Entry<Entity, Integer> entry = it.next();
if (entry.getKey() == entity) {
Misc.mcDropItems(entity.getLocation(), new ItemStack(Material.ARROW), entry.getValue());
Misc.dropItems(entity.getLocation(), new ItemStack(Material.ARROW), entry.getValue());
it.remove();
return;
}

View File

@ -57,7 +57,7 @@ public class Unarmed {
if (random.nextInt(3000) <= skillCheck && !ironGrip(defender, attacker)) {
defender.sendMessage(LocaleLoader.getString("Skills.Disarmed"));
Misc.mcDropItem(defender.getLocation(), inHand);
Misc.dropItem(defender.getLocation(), inHand);
defender.setItemInHand(new ItemStack(Material.AIR));
}
}