Merge pull request #3094 from SupaHam/fix-chimaera-tp-cancel

Set TeleportCommenceLocation to null after Chimaera cancellation.
This commit is contained in:
t00thpick1 2017-01-15 22:19:51 -05:00 committed by GitHub
commit 37ce29a5e8

View File

@ -31,6 +31,7 @@ public class ChimaeraWingWarmup extends BukkitRunnable {
if (player.getLocation().distanceSquared(previousLocation) > 1.0 || !player.getInventory().containsAtLeast(ChimaeraWing.getChimaeraWing(0), 1)) {
player.sendMessage(LocaleLoader.getString("Teleport.Cancelled"));
mcMMOPlayer.setTeleportCommenceLocation(null);
return;
}