Remove debugprint
This commit is contained in:
parent
1bb85a6d73
commit
9ff3fefd50
@ -22,12 +22,9 @@ public class AndroidLimbOverclocking extends AndroidFeature {
|
||||
public void applyModifiers() {
|
||||
var speed = capability.getEntity().getAttribute(Attributes.MOVEMENT_SPEED);
|
||||
|
||||
OverdriveThatMatters.LOGGER.info("Get modifier {} {}", this, speed);
|
||||
|
||||
if (speed != null) {
|
||||
speed.removePermanentModifier(MODIFIED_NAME);
|
||||
speed.addPermanentModifier(new AttributeModifier(MODIFIED_NAME, type.getDisplayName().toString(), 0.08d * (level + 1), AttributeModifier.Operation.MULTIPLY_TOTAL));
|
||||
OverdriveThatMatters.LOGGER.info("Add modifier {} {}", this, capability.getEntity());
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,7 +34,6 @@ public class AndroidLimbOverclocking extends AndroidFeature {
|
||||
|
||||
if (speed != null) {
|
||||
speed.removePermanentModifier(MODIFIED_NAME);
|
||||
OverdriveThatMatters.LOGGER.info("Remove modifier {} {}", this, capability.getEntity());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user