Honor attacker shield disabling status (#10321)

This commit is contained in:
Jonathing authored and GitHub committed 2025-02-18 14:58:43 -08:00
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();
}
/**