From 37671bad9af977125adaf4c011b1ce061fa9e9ad Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 24 Jul 2013 12:30:02 -0400 Subject: [PATCH] We already have the mcMMOPlayer here. --- src/main/java/com/gmail/nossr50/util/ChimaeraWing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java b/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java index 5aa485dde..c396708ed 100644 --- a/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java +++ b/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java @@ -132,7 +132,7 @@ public final class ChimaeraWing { player.setItemInHand(new ItemStack(getChimaeraWing(player.getItemInHand().getAmount() - Config.getInstance().getChimaeraUseCost()))); player.updateInventory(); - UserManager.getPlayer(player).actualizeLastTeleport(); + mcMMOPlayer.actualizeLastTeleport(); if (Config.getInstance().getStatsTrackingEnabled()) { MetricsManager.chimeraWingUsed(); }