Fix inability to remove gem from crucible (#1079)
This commit is contained in:
parent
f083e4e036
commit
3a707df23c
|
@ -78,9 +78,12 @@ public class BlockDemonCrucible extends Block implements IVariantProvider
|
||||||
if (crucible == null || player.isSneaking())
|
if (crucible == null || player.isSneaking())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem))
|
if (!heldItem.isEmpty())
|
||||||
{
|
{
|
||||||
return true;
|
if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Utils.insertItemToTile(crucible, player);
|
Utils.insertItemToTile(crucible, player);
|
||||||
|
|
Loading…
Reference in a new issue