mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
This commit is contained in:
1 parent
f31519b6bb
commit
3cd49ed58d
1 file changed
+4
-2
@@ -88,12 +88,14 @@
|
||||
}
|
||||
|
||||
public void tick() {
|
||||
@@ -263,7 +_,7 @@
|
||||
@@ -263,7 +_,9 @@
|
||||
|
||||
private boolean sameDestroyTarget(BlockPos p_105282_) {
|
||||
ItemStack itemstack = this.minecraft.player.getMainHandItem();
|
||||
- return p_105282_.equals(this.destroyBlockPos) && ItemStack.isSameItemSameTags(itemstack, this.destroyingItem);
|
||||
+ return p_105282_.equals(this.destroyBlockPos) && ItemStack.isSameItemSameTags(itemstack, this.destroyingItem) && !destroyingItem.shouldCauseBlockBreakReset(itemstack);
|
||||
+ if (Boolean.FALSE)
|
||||
+ ItemStack.isSameItemSameTags(itemstack, this.destroyingItem);
|
||||
+ return p_105282_.equals(this.destroyBlockPos) && !destroyingItem.shouldCauseBlockBreakReset(itemstack);
|
||||
}
|
||||
|
||||
private void ensureHasSentCarriedItem() {
|
||||
|
||||
Reference in new issue
Block a user