mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-14 19:44:42 +02:00
Remove redundant ChimaeraWing check
Also indent the code
This commit is contained in:
@ -53,7 +53,6 @@ public final class ChimaeraWing {
|
||||
long recentlyHurt = mcMMOPlayer.getRecentlyHurt();
|
||||
long lastTeleport = mcMMOPlayer.getLastTeleport();
|
||||
|
||||
if (ItemUtils.isChimaeraWing(inHand)) {
|
||||
if (mcMMOPlayer.getTeleportCommenceLocation() != null) {
|
||||
return;
|
||||
}
|
||||
@ -98,7 +97,6 @@ public final class ChimaeraWing {
|
||||
chimaeraExecuteTeleport();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void chimaeraExecuteTeleport() {
|
||||
Player player = mcMMOPlayer.getPlayer();
|
||||
|
Reference in New Issue
Block a user