diff options
author | md_5 <git@md-5.net> | 2016-10-23 14:00:35 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-10-23 14:00:35 +1100 |
commit | 2e39de698d0998d4d5a2283686d192614505b7fa (patch) | |
tree | 54d3a4f6d0b060247cabc2953f1e63a14a5fc850 /nms-patches/PlayerList.patch | |
parent | d86d282f63938a2c5705b898090d04e15d92890c (diff) | |
download | craftbukkit-2e39de698d0998d4d5a2283686d192614505b7fa.tar craftbukkit-2e39de698d0998d4d5a2283686d192614505b7fa.tar.gz craftbukkit-2e39de698d0998d4d5a2283686d192614505b7fa.tar.lz craftbukkit-2e39de698d0998d4d5a2283686d192614505b7fa.tar.xz craftbukkit-2e39de698d0998d4d5a2283686d192614505b7fa.zip |
SPIGOT-1903, MC-98153: Portal Location Sync Issues
Diffstat (limited to 'nms-patches/PlayerList.patch')
-rw-r--r-- | nms-patches/PlayerList.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PlayerList.patch b/nms-patches/PlayerList.patch index a1c98d9f..207bdf0c 100644 --- a/nms-patches/PlayerList.patch +++ b/nms-patches/PlayerList.patch @@ -442,7 +442,7 @@ + location.setWorld(server.getWorldServer(i).getWorld()); } + WorldServer worldserver = ((CraftWorld) location.getWorld()).getHandle(); -+ entityplayer1.setLocation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); ++ entityplayer1.forceSetPositionRotation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); + // CraftBukkit end worldserver.getChunkProviderServer().getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4); |