We already have the mcMMOPlayer here.

This commit is contained in:
GJ 2013-07-24 12:30:02 -04:00
parent 0e8ce005d7
commit 37671bad9a

View File

@ -132,7 +132,7 @@ public final class ChimaeraWing {
player.setItemInHand(new ItemStack(getChimaeraWing(player.getItemInHand().getAmount() - Config.getInstance().getChimaeraUseCost()))); player.setItemInHand(new ItemStack(getChimaeraWing(player.getItemInHand().getAmount() - Config.getInstance().getChimaeraUseCost())));
player.updateInventory(); player.updateInventory();
UserManager.getPlayer(player).actualizeLastTeleport(); mcMMOPlayer.actualizeLastTeleport();
if (Config.getInstance().getStatsTrackingEnabled()) { if (Config.getInstance().getStatsTrackingEnabled()) {
MetricsManager.chimeraWingUsed(); MetricsManager.chimeraWingUsed();
} }