From 51c738e817728297125ce214110f4dcf94ef3f05 Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Mon, 28 Mar 2016 13:00:44 -0500 Subject: [PATCH] Don't set spawn world in PlayerInitialSpawnEvent Fixes GH-85 and GH-157 --- Spigot-Server-Patches/Add-PlayerInitialSpawnEvent.patch | 1 - 1 file changed, 1 deletion(-) diff --git a/Spigot-Server-Patches/Add-PlayerInitialSpawnEvent.patch b/Spigot-Server-Patches/Add-PlayerInitialSpawnEvent.patch index be45faea4..e1b19841a 100644 --- a/Spigot-Server-Patches/Add-PlayerInitialSpawnEvent.patch +++ b/Spigot-Server-Patches/Add-PlayerInitialSpawnEvent.patch @@ -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));