Check if world exists before teleportation

This commit is contained in:
Daniel Saukel 2016-01-16 11:29:06 +01:00
parent 88ace289bd
commit 2ac0ad1b5c

View File

@ -95,7 +95,7 @@ public class DSavePlayer {
}
}
if ( !offline) {
if ( !offline && oldLocation.getWorld() != null) {
MiscUtil.secureTeleport(player, oldLocation);
}