mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Pass enchanter right clicks through to item when there's nothing to do. Closes #2244
This commit is contained in:
1 parent
982b31a764
commit
160a174677
1 file changed
+2
@@ -128,6 +128,8 @@ public class BlockEnchanter extends BlockMod implements IWandable, ILexiconable,
|
||||
enchanter.itemToEnchant = stack.copy();
|
||||
player.setHeldItem(hand, ItemStack.EMPTY);
|
||||
enchanter.sync();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} else if(enchanter.stage == TileEnchanter.State.IDLE) {
|
||||
ItemHandlerHelper.giveItemToPlayer(player, enchanter.itemToEnchant.copy());
|
||||
|
||||
Reference in new issue
Block a user