Fixed bug where Chimaera Wing would always teleport to spawn

This commit is contained in:
TfT_02 2013-03-03 17:03:16 +01:00
parent 077431630a
commit 10e227a5ac
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Version 1.4.01-dev
= Fixed bug where the PTP cooldown was set improperly
= Fixed bug where ptp permissions weren't being handled properly
= Fixed bug where Beast Lore wouldn't work
= Fixed bug where Chimaera Wing would always teleport to spawn, even when the player had a valid bed spawn location
Version 1.4.00
+ Added new Child Skill - Smelting!

View File

@ -44,7 +44,7 @@ public final class ChimaeraWing {
}
}
if (player.getBedSpawnLocation() != null && player.getBedSpawnLocation().getBlock().getType() == Material.BED_BLOCK) {
if (player.getBedSpawnLocation() != null) {
player.teleport(player.getBedSpawnLocation());
}
else {