mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Update ItemGrowthRing.java
This commit is contained in:
parent
44202f9c46
commit
ac4d53bde4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class ItemGrowthRing extends ItemEnergy {
|
|||
ItemStack equipped = player.getMainHandItem();
|
||||
|
||||
int energyUse = 300;
|
||||
if (StackUtil.isValid(equipped) && equipped == stack && this.getEnergyStored(stack) >= energyUse) {
|
||||
if (!equipped.isEmpty() && equipped == stack && this.getEnergyStored(stack) >= energyUse) {
|
||||
List<BlockPos> blocks = new ArrayList<>();
|
||||
|
||||
//Adding all possible Blocks
|
||||
|
|
Loading…
Reference in a new issue