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:
parent
ce6c014191
commit
2ad836fa32
|
@ -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
|
Version 2.0.1-40
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class BlockDemonCrucible extends BlockContainer implements IVariantProvid
|
||||||
{
|
{
|
||||||
if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem))
|
if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem))
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue