From 3190acce2924f2f6cfbe58617ccc0812079fc86c Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 3 Dec 2013 11:28:39 +1100 Subject: [PATCH] Fix Huge Mushroom Caps --- .../0070-Fix-Huge-Mushroom-Caps.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CraftBukkit-Patches/0070-Fix-Huge-Mushroom-Caps.patch diff --git a/CraftBukkit-Patches/0070-Fix-Huge-Mushroom-Caps.patch b/CraftBukkit-Patches/0070-Fix-Huge-Mushroom-Caps.patch new file mode 100644 index 0000000000..e03d700d7e --- /dev/null +++ b/CraftBukkit-Patches/0070-Fix-Huge-Mushroom-Caps.patch @@ -0,0 +1,22 @@ +From bccdbf4d063f1489e3075fc3a904a7c956ecdc99 Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Tue, 3 Dec 2013 11:28:32 +1100 +Subject: [PATCH] Fix Huge Mushroom Caps + + +diff --git a/src/main/java/net/minecraft/server/WorldGenHugeMushroom.java b/src/main/java/net/minecraft/server/WorldGenHugeMushroom.java +index 160fc7e..67273f2 100644 +--- a/src/main/java/net/minecraft/server/WorldGenHugeMushroom.java ++++ b/src/main/java/net/minecraft/server/WorldGenHugeMushroom.java +@@ -168,7 +168,7 @@ public class WorldGenHugeMushroom extends WorldGenerator implements BlockSapling + if (event == null) { + this.setTypeAndData(world, j2, j1, k2, Block.e(Block.b(Blocks.BIG_MUSHROOM_1) + l), l2); + } else { +- BlockState state = bukkitWorld.getBlockAt(i2, k1, k2).getState(); ++ BlockState state = bukkitWorld.getBlockAt(j2, j1, k2).getState(); + state.setTypeId(Block.b(Blocks.BIG_MUSHROOM_1) + l); + state.setData(new MaterialData(Block.b(Blocks.BIG_MUSHROOM_1) + l, (byte) l2)); + event.getBlocks().add(state); +-- +1.8.3.2 +