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

@ -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 {