mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Honor attacker shield disabling status (#10321)
This commit is contained in:
1 parent
dd2591b5f3
commit
783c8b7d2b
2 files changed
+7
-2
No files matched your search
@@ -692,7 +692,7 @@ public interface IForgeItem
|
||||
*/
|
||||
default boolean canDisableShield(ItemStack stack, ItemStack shield, LivingEntity entity, LivingEntity attacker)
|
||||
{
|
||||
return this instanceof AxeItem;
|
||||
return attacker.canDisableShield();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user