mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-13 00:09:09 +01:00
parent
2c4c868982
commit
a28e154a24
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class ItemHoe extends HoeItem implements IModItem, ICustomItemModel {
|
|||
if (this == ModItems.INFUSED_IRON_HOE) {
|
||||
World world = context.getWorld();
|
||||
ActionResultType result = super.onItemUse(context);
|
||||
if (!world.isRemote && result == ActionResultType.SUCCESS) {
|
||||
if (!world.isRemote && result.isSuccessOrConsume()) {
|
||||
ItemStack seed = ItemStack.EMPTY;
|
||||
Random random = world.getRandom();
|
||||
BlockPos pos = context.getPos();
|
||||
|
|
Loading…
Reference in a new issue