mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-03 21:37:28 +01:00
Don't set spawn world in PlayerInitialSpawnEvent
Fixes GH-85 and GH-157
This commit is contained in:
parent
010e7652b3
commit
51c738e817
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ entityplayer.yaw = newLoc.getYaw();
|
||||
+ entityplayer.pitch = newLoc.getPitch();
|
||||
+ entityplayer.dimension = ((CraftWorld) newLoc.getWorld()).getHandle().dimension;
|
||||
+ entityplayer.spawnWorld = entityplayer.world.worldData.getName();
|
||||
+ // Paper end
|
||||
+
|
||||
entityplayer.spawnIn(this.server.getWorldServer(entityplayer.dimension));
|
||||
|
|
Loading…
Add table
Reference in a new issue