mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-10 04:41:04 +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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user