mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-02-05 13:00:30 +08:00
Poke the Spout telporter so the correct packets are sent. Somebody should put together a better solution to this.
This commit is contained in:
parent
7dafb50999
commit
af784c0ee2
@ -114,6 +114,7 @@ public void setPosition(Vector pos, float pitch, float yaw) {
|
||||
entity.setPosition(SpoutUtil.toPoint(entity.getWorld(), pos));
|
||||
entity.setPitch(pitch);
|
||||
entity.setYaw(yaw);
|
||||
player.getNetworkSynchronizer().setPositionDirty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user