diff options
author | Erik Broes <erikbroes@ripe.net> | 2012-01-12 12:02:39 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@ripe.net> | 2012-01-12 12:07:38 +0100 |
commit | 7f079a0cd6c87cf6360a0ed86592f88d374ba268 (patch) | |
tree | 313889c892cf020ae0a81221095fb9a344e35997 /src/main/java/net/minecraft/server/WorldGenTaiga2.java | |
parent | 42e473783e1614f25475931f11abc46265aedd43 (diff) | |
download | craftbukkit-7f079a0cd6c87cf6360a0ed86592f88d374ba268.tar craftbukkit-7f079a0cd6c87cf6360a0ed86592f88d374ba268.tar.gz craftbukkit-7f079a0cd6c87cf6360a0ed86592f88d374ba268.tar.lz craftbukkit-7f079a0cd6c87cf6360a0ed86592f88d374ba268.tar.xz craftbukkit-7f079a0cd6c87cf6360a0ed86592f88d374ba268.zip |
Fix CraftBukkit comments.
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldGenTaiga2.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldGenTaiga2.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/WorldGenTaiga2.java b/src/main/java/net/minecraft/server/WorldGenTaiga2.java index 47da3a99..18b8342b 100644 --- a/src/main/java/net/minecraft/server/WorldGenTaiga2.java +++ b/src/main/java/net/minecraft/server/WorldGenTaiga2.java @@ -68,7 +68,7 @@ public class WorldGenTaiga2 extends WorldGenerator { } else { l1 = world.getTypeId(i, j - 1, k); if ((l1 == Block.GRASS.id || l1 == Block.DIRT.id) && j < world.getHeight() - l - 1) { // CraftBukkit - // Craftbukkit start + // CraftBukkit start if (event == null) { world.setRawTypeId(i, j - 1, k, Block.DIRT.id); } else { @@ -76,7 +76,7 @@ public class WorldGenTaiga2 extends WorldGenerator { dirtState.setTypeId(Block.DIRT.id); event.getBlocks().add(dirtState); } - // Craftbukkit end + // CraftBukkit end k2 = random.nextInt(2); i2 = 1; byte b0 = 0; @@ -94,7 +94,7 @@ public class WorldGenTaiga2 extends WorldGenerator { int i4 = l3 - k; if ((Math.abs(k3) != k2 || Math.abs(i4) != k2 || k2 <= 0) && !Block.o[world.getTypeId(i3, j3, l3)]) { - // Craftbukkit start + // CraftBukkit start if (event == null) { this.a(world, i3, j3, l3, Block.LEAVES.id, 1); } else { @@ -103,7 +103,7 @@ public class WorldGenTaiga2 extends WorldGenerator { leavesState.setData(new MaterialData(Block.LEAVES.id, (byte) 1)); event.getBlocks().add(leavesState); } - // Craftbukkit end + // CraftBukkit end } } } @@ -125,7 +125,7 @@ public class WorldGenTaiga2 extends WorldGenerator { for (j3 = 0; j3 < l - j2; ++j3) { i3 = world.getTypeId(i, j + j3, k); if (i3 == 0 || i3 == Block.LEAVES.id) { - // Craftbukkit start + // CraftBukkit start if (event == null) { this.a(world, i, j + j3, k, Block.LOG.id, 1); } else { @@ -134,10 +134,10 @@ public class WorldGenTaiga2 extends WorldGenerator { logState.setData(new MaterialData(Block.LOG.id, (byte) 1)); event.getBlocks().add(logState); } - // Craftbukkit end + // CraftBukkit end } } - // Craftbukkit start + // CraftBukkit start if (event != null) { Bukkit.getPluginManager().callEvent(event); if (!event.isCancelled()) { @@ -146,7 +146,7 @@ public class WorldGenTaiga2 extends WorldGenerator { } } } - // Craftbukkit end + // CraftBukkit end return true; } else { return false; |