Fixed the Runic Altar not crafting if the piece of livingrock tossed in desyncs and looks like it's on top of the altar even though it isn't. Closes #253

This commit is contained in:
Lizbeth Rika committed 2014-08-19 21:45:08 +01:00
1 parent 4fa5d62cfd
commit c3171b3d84
1 file changed
+1 -1
@@ -140,7 +140,7 @@ public class TileRuneAltar extends TileSimpleInventory implements ISidedInventor
}
}
if(manaToGet > 0 && mana >= manaToGet) {
if(manaToGet > 0 && mana >= manaToGet && !worldObj.isRemote) {
List<EntityItem> items = worldObj.getEntitiesWithinAABB(EntityItem.class, AxisAlignedBB.getBoundingBox(xCoord, yCoord, zCoord, xCoord + 1, yCoord + 1, zCoord + 1));
EntityItem livingrock = null;
for(EntityItem item : items)