mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Remove redundant ChimaeraWing check
Also indent the code
This commit is contained in:
parent
21100de85d
commit
7e67505dfb
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user