Skip to content

Commit c535fab

Browse files
authored
Merge pull request #668 from Niki4tap/feature/no_cooldown
Allow operation cooldown to be 0
2 parents 3444a30 + 56e4d1e commit c535fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/operations/SimpleFreeOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public enum SimpleFreeOperation implements IPeripheralOperation<Object> {
1818

1919
@Override
2020
public void addToConfig(ForgeConfigSpec.Builder builder) {
21-
cooldown = builder.defineInRange(settingsName() + "Cooldown", defaultCooldown, 1_000, Integer.MAX_VALUE);
21+
cooldown = builder.defineInRange(settingsName() + "Cooldown", defaultCooldown, 0, Integer.MAX_VALUE);
2222
}
2323

2424
@Override

0 commit comments

Comments
 (0)