Merge pull request #222 from yrsegal/19FixMunchdew

Fix munchdew not working
This commit is contained in:
Vincent Lee committed 2016-04-06 17:43:06 -05:00
commit bcecfb9148
1 file changed
+1 -1
@@ -62,7 +62,7 @@ public class SubTileMunchdew extends SubTileGenerating {
for(int j = 0; j < RANGE_Y; j++)
for(int k = -RANGE; k < RANGE + 1; k++) {
BlockPos pos_ = pos.add(i, j, k);
if(supertile.getWorld().getBlockState(pos).getMaterial()== Material.leaves) {
if(supertile.getWorld().getBlockState(pos_).getMaterial() == Material.leaves) {
boolean exposed = false;
for(EnumFacing dir : EnumFacing.VALUES) {
IBlockState offState = supertile.getWorld().getBlockState(pos_.offset(dir));