From 2ad836fa328b0591c0d6cc7929e9028d0f98fdbd Mon Sep 17 00:00:00 2001 From: WayofTime <wtime@live.ca> Date: Wed, 1 Jun 2016 08:10:15 -0400 Subject: [PATCH] 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 --- changelog.txt | 6 ++++++ .../java/WayofTime/bloodmagic/block/BlockDemonCrucible.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 97d3673c..e8f9ce57 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 ------------------------------------------------------ diff --git a/src/main/java/WayofTime/bloodmagic/block/BlockDemonCrucible.java b/src/main/java/WayofTime/bloodmagic/block/BlockDemonCrucible.java index a5bc6fe6..ef3faa04 100644 --- a/src/main/java/WayofTime/bloodmagic/block/BlockDemonCrucible.java +++ b/src/main/java/WayofTime/bloodmagic/block/BlockDemonCrucible.java @@ -84,7 +84,7 @@ public class BlockDemonCrucible extends BlockContainer implements IVariantProvid { if (!(heldItem.getItem() instanceof IDiscreteDemonWill) && !(heldItem.getItem() instanceof IDemonWillGem)) { - return false; + return true; } }