mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-10 18:28:42 +01:00
Check if world exists before teleportation
This commit is contained in:
parent
88ace289bd
commit
2ac0ad1b5c
@ -95,7 +95,7 @@ public class DSavePlayer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !offline) {
|
if ( !offline && oldLocation.getWorld() != null) {
|
||||||
MiscUtil.secureTeleport(player, oldLocation);
|
MiscUtil.secureTeleport(player, oldLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user