SPIGOT-1903, MC-98153: Portal Location Sync Issues
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user