Remove redundant ChimaeraWing check

Also indent the code
This commit is contained in:
TfT_02 2013-04-21 21:50:08 +02:00
parent 21100de85d
commit 7e67505dfb

View File

@ -53,7 +53,6 @@ public final class ChimaeraWing {
long recentlyHurt = mcMMOPlayer.getRecentlyHurt(); long recentlyHurt = mcMMOPlayer.getRecentlyHurt();
long lastTeleport = mcMMOPlayer.getLastTeleport(); long lastTeleport = mcMMOPlayer.getLastTeleport();
if (ItemUtils.isChimaeraWing(inHand)) {
if (mcMMOPlayer.getTeleportCommenceLocation() != null) { if (mcMMOPlayer.getTeleportCommenceLocation() != null) {
return; return;
} }
@ -98,7 +97,6 @@ public final class ChimaeraWing {
chimaeraExecuteTeleport(); chimaeraExecuteTeleport();
} }
} }
}
public static void chimaeraExecuteTeleport() { public static void chimaeraExecuteTeleport() {
Player player = mcMMOPlayer.getPlayer(); Player player = mcMMOPlayer.getPlayer();