mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 12:12:08 -07:00
SPIGOT-4980: Shields will not be put on cooldown when hit with an axe
This commit is contained in:
@@ -670,7 +670,7 @@
|
|||||||
+ Entity entity = damagesource.j();
|
+ Entity entity = damagesource.j();
|
||||||
+
|
+
|
||||||
+ if (entity instanceof EntityLiving) {
|
+ if (entity instanceof EntityLiving) {
|
||||||
+ this.c((EntityLiving) entity);
|
+ this.d((EntityLiving) entity);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user