Remove debugprint

This commit is contained in:
DBotThePony 2021-08-23 11:52:47 +07:00
parent 1bb85a6d73
commit 9ff3fefd50
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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());
}
}
}