SPIGOT-4980: Shields will not be put on cooldown when hit with an axe

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-05-25 11:17:45 +10:00
parent e2b8949bf3
commit 36817a5614

View file

@ -670,7 +670,7 @@
+ Entity entity = damagesource.j();
+
+ if (entity instanceof EntityLiving) {
+ this.c((EntityLiving) entity);
+ this.d((EntityLiving) entity);
+ }
+ }