Port noswingdelay
This commit is contained in:
parent
d127a2996a
commit
579946bad5
|
@ -905,7 +905,7 @@ public abstract class EntityLivingBase extends Entity {
|
||||||
*/
|
*/
|
||||||
public void swingItem() {
|
public void swingItem() {
|
||||||
if (!this.isSwingInProgress || this.swingProgressInt >= this.getArmSwingAnimationEnd() / 2
|
if (!this.isSwingInProgress || this.swingProgressInt >= this.getArmSwingAnimationEnd() / 2
|
||||||
|| this.swingProgressInt < 0) {
|
|| this.swingProgressInt < 0 || ModManager.noSwingDelay.isEnabled()) {
|
||||||
this.swingProgressInt = -1;
|
this.swingProgressInt = -1;
|
||||||
this.isSwingInProgress = true;
|
this.isSwingInProgress = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user