From 18a36b9778fe30f40e38b3b9777ffedce0795c50 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Mon, 15 Feb 2016 07:11:02 -0500 Subject: [PATCH] Fixed incense altar so that it checked two blocks above its level properly. --- src/main/java/WayofTime/bloodmagic/tile/TileIncenseAltar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileIncenseAltar.java b/src/main/java/WayofTime/bloodmagic/tile/TileIncenseAltar.java index d4f6c9e6..3dbd2be2 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileIncenseAltar.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileIncenseAltar.java @@ -142,7 +142,7 @@ public class TileIncenseAltar extends TileInventory implements ITickable for (int y = 0 + yOffset; y <= 2 + yOffset; y++) { - BlockPos offsetPos = pos.add(i, yOffset, j); + BlockPos offsetPos = pos.add(i, y, j); IBlockState state = worldObj.getBlockState(offsetPos); Block block = state.getBlock(); TranquilityStack stack = IncenseTranquilityRegistry.getTranquilityOfBlock(worldObj, offsetPos, block, state);