Make shield blocking delay configurable
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user