diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-21 22:30:01 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-21 22:30:01 +0000 |
commit | f659231e347f0e06a24f94d72136d3dfd9f0c7c4 (patch) | |
tree | 187de36cefbb4fa2df3adef0ec62f6da0c7b3f77 /src/main/java/net/minecraft/server/PlayerInstance.java | |
parent | 67cf646014fa6336c7df4abefe85a2dec447d699 (diff) | |
download | craftbukkit-f659231e347f0e06a24f94d72136d3dfd9f0c7c4.tar craftbukkit-f659231e347f0e06a24f94d72136d3dfd9f0c7c4.tar.gz craftbukkit-f659231e347f0e06a24f94d72136d3dfd9f0c7c4.tar.lz craftbukkit-f659231e347f0e06a24f94d72136d3dfd9f0c7c4.tar.xz craftbukkit-f659231e347f0e06a24f94d72136d3dfd9f0c7c4.zip |
N.M.S cleanup in preparation for update
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerInstance.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PlayerInstance.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerInstance.java b/src/main/java/net/minecraft/server/PlayerInstance.java index 76c475fc..95b8467c 100644 --- a/src/main/java/net/minecraft/server/PlayerInstance.java +++ b/src/main/java/net/minecraft/server/PlayerInstance.java @@ -29,9 +29,7 @@ class PlayerInstance { this.d = j; this.e = new ChunkCoordIntPair(i, j); - // Craftbukkit start - playermanager.world.A.d(i, j); - // Craftbukkit end + playermanager.world.A.d(i, j); // Craftbukkit } public void a(EntityPlayer entityplayer) { @@ -133,10 +131,13 @@ class PlayerInstance { i = this.c * 16 + this.h; j = this.j; k = this.d * 16 + this.l; - this.a((Packet) (new Packet53BlockChange(i, j, k, a.world))); // Craftbukkit - if (Block.p[a.world.getTypeId(i, j, k)]) { // Craftbukkit - this.a(a.world.getTileEntity(i, j, k)); // Craftbukkit + + // Craftbukkit start + this.a((Packet) (new Packet53BlockChange(i, j, k, a.world))); + if (Block.p[a.world.getTypeId(i, j, k)]) { + this.a(a.world.getTileEntity(i, j, k)); } + // Craftbukkit end } else { int l; |