Make shield blocking delay configurable

This commit is contained in:
BillyGalbreath
2018-06-16 01:18:16 -05:00
parent 4ec0188c4d
commit 2d9d74f9a9
2 changed files with 67 additions and 30 deletions

View File

@@ -873,5 +873,15 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
public void setArrowsStuck(final int arrows) {
this.getHandle().setArrowCount(arrows);
}
@Override
public int getShieldBlockingDelay() {
return getHandle().getShieldBlockingDelay();
}
@Override
public void setShieldBlockingDelay(int delay) {
getHandle().setShieldBlockingDelay(delay);
}
// Paper end
}