From af784c0ee222a60e863c997da6ea1e679faa2322 Mon Sep 17 00:00:00 2001 From: zml2008 Date: Sun, 15 Apr 2012 17:16:04 -0700 Subject: [PATCH] Poke the Spout telporter so the correct packets are sent. Somebody should put together a better solution to this. --- src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java index 862cf5d10..07d394eaa 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java @@ -114,6 +114,7 @@ public class SpoutPlayer extends LocalPlayer { entity.setPosition(SpoutUtil.toPoint(entity.getWorld(), pos)); entity.setPitch(pitch); entity.setYaw(yaw); + player.getNetworkSynchronizer().setPositionDirty(); } @Override