Fix inability to remove gem from crucible (#1079)
This commit is contained in:
parent
f083e4e036
commit
3a707df23c
1 changed files with 5 additions and 2 deletions
|
@ -78,9 +78,12 @@ public class BlockDemonCrucible extends Block implements IVariantProvider
|
|||
if (crucible == null || player.isSneaking())
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue