SPIGOT-1903, MC-98153: Portal Location Sync Issues

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-10-23 14:00:35 +11:00
parent 537ae5a7b0
commit cf579b12bc
3 changed files with 21 additions and 8 deletions

View File

@@ -103,7 +103,7 @@
public void E_() {
this.d();
@@ -110,15 +182,21 @@
@@ -110,21 +182,27 @@
}
this.minecraftServer.methodProfiler.b();
@@ -125,6 +125,13 @@
this.disconnect("You have been idle for too long!");
}
}
- private void d() {
+ public void d() { // PAIL: syncPosition, private->public
this.l = this.player.locX;
this.m = this.player.locY;
this.n = this.player.locZ;
@@ -138,19 +216,40 @@
}