mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-12-25 02:17:40 +01:00
Fix NPE when teleporting someone from console
This commit is contained in:
parent
4effff9145
commit
252e15d48e
@ -81,7 +81,7 @@ public class TeleportCommand extends BaseCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Location l = this.playerTeleporter.getSafeDestination(this.plugin.getServer().getWorld(d.getName()).getSpawnLocation());
|
Location l = this.playerTeleporter.getSafeDestination(this.plugin.getServer().getWorld(d.getName()).getSpawnLocation());
|
||||||
teleporter.teleport(l);
|
teleportee.teleport(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user