summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Chunk.java
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-02-23 13:56:36 +0100
committerErik Broes <erikbroes@grum.nl>2011-02-23 14:12:33 +0100
commit09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059 (patch)
tree4d813de09480cee3083997ee192c3c9b9e35e863 /src/main/java/net/minecraft/server/Chunk.java
parent332d9c4f1884a03152c11ccb0b63c2e3127618ea (diff)
downloadcraftbukkit-09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059.tar
craftbukkit-09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059.tar.gz
craftbukkit-09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059.tar.lz
craftbukkit-09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059.tar.xz
craftbukkit-09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059.zip
Generic code cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/Chunk.java')
-rw-r--r--src/main/java/net/minecraft/server/Chunk.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index 3f71badc..55a8340b 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -6,6 +6,7 @@ import java.util.List;
import java.util.Map;
import java.util.Random;
+// CraftBukkit
import org.bukkit.craftbukkit.CraftWorld;
public class Chunk {
@@ -47,7 +48,7 @@ public class Chunk {
// CraftBukkit start
CraftWorld cw = ((WorldServer) world).getWorld();
- bukkitChunk = (cw == null) ? null:cw.popPreservedChunk( i, j );
+ bukkitChunk = (cw == null) ? null : cw.popPreservedChunk( i, j );
if (bukkitChunk == null) {
bukkitChunk = new org.bukkit.craftbukkit.CraftChunk( this );
}
@@ -358,7 +359,8 @@ public class Chunk {
if (i != this.j || j != this.k) {
System.out.println("Wrong location! " + entity);
- System.out.println("" + entity.locX + "," + entity.locZ + "(" + i + "," + j + ") vs " + this.j + "," + this.k); // CraftBukkit
+ // CraftBukkit
+ System.out.println("" + entity.locX + "," + entity.locZ + "(" + i + "," + j + ") vs " + this.j + "," + this.k);
Thread.dumpStack();
}