diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-05-14 16:29:42 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-05-15 13:41:46 +0200 |
commit | 309846d732849b68e382c53bf3a0d7a6dfd82579 (patch) | |
tree | 020932a024cd2fb20895f5834a2bde7dbdfea583 /src/main/java/net/minecraft/server/ChunkProviderServer.java | |
parent | e54d8c33529b9495b9ca1a610dc2ff9fc5ac84b5 (diff) | |
download | craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.gz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.lz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.xz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.zip |
Whitespace + general cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/ChunkProviderServer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ChunkProviderServer.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java index f6f93d28..8dd30d80 100644 --- a/src/main/java/net/minecraft/server/ChunkProviderServer.java +++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java @@ -124,7 +124,7 @@ public class ChunkProviderServer implements IChunkProvider { // CraftBukkit end } - public Chunk loadChunk(int i, int j) {// CraftBukkit - private->public + public Chunk loadChunk(int i, int j) { // CraftBukkit - private -> public if (this.d == null) { return null; } else { @@ -143,7 +143,7 @@ public class ChunkProviderServer implements IChunkProvider { } } - public void saveChunkNOP(Chunk chunk) { // CraftBukkit - private->public + public void saveChunkNOP(Chunk chunk) { // CraftBukkit - private -> public if (this.d != null) { try { this.d.b(this.world, chunk); @@ -153,7 +153,7 @@ public class ChunkProviderServer implements IChunkProvider { } } - public void saveChunk(Chunk chunk) { // CraftBukkit - private->public + public void saveChunk(Chunk chunk) { // CraftBukkit - private -> public if (this.d != null) { try { chunk.r = this.world.getTime(); @@ -219,12 +219,12 @@ public class ChunkProviderServer implements IChunkProvider { ChunkUnloadEvent event = new ChunkUnloadEvent(chunk.bukkitChunk); server.getPluginManager().callEvent(event); if (!event.isCancelled()) { - this.world.getWorld().preserveChunk( (CraftChunk) chunk.bukkitChunk ); + this.world.getWorld().preserveChunk((CraftChunk) chunk.bukkitChunk); chunk.removeEntities(); this.saveChunk(chunk); this.saveChunkNOP(chunk); - //this.unloadQueue.remove(integer); + // this.unloadQueue.remove(integer); this.chunks.remove(chunkcoordinates); // CraftBukkit this.chunkList.remove(chunk); } |