Fixed Demon Crucible's weird behaviour where right-clicking it with an invalid item would still put the item in the crucible and give the player an item with a stacksize of 0

This commit is contained in:
WayofTime 2016-06-01 08:10:15 -04:00
parent ce6c014191
commit 2ad836fa32
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
------------------------------------------------------
Version 2.0.1-41
------------------------------------------------------
- Fixed Demon Crucible's weird behaviour where right-clicking it with an invalid item would still put the item in the crucible
and give the player an item with a stacksize of 0.
------------------------------------------------------
Version 2.0.1-40
------------------------------------------------------

View file

@ -84,7 +84,7 @@ public class BlockDemonCrucible extends BlockContainer implements IVariantProvid
{
if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem))
{
return false;
return true;
}
}