config field changes for soundcard

This commit is contained in:
Allie Signet
2022-02-27 13:20:03 -03:00
parent d9da812258
commit 3c8e8be6dc
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ public final class Config {
@Path("energy.items") public static int networkTunnelEnergyPerTick = 2;
@Path("gameplay") public static ResourceLocation blockOperationsModuleToolTier = TierSortingRegistry.getName(Tiers.DIAMOND);
@Path("gameplay.devices") public static long soundCardCoolDownSeconds = 2;
@Path("gameplay") public static long soundCardCoolDownSeconds = 2;
@Path("admin") public static UUID fakePlayerUUID = UUID.fromString("e39dd9a7-514f-4a2d-aa5e-b6030621416d");
@Path("admin.network") public static int projectorAverageMaxBytesPerSecond = 160 * 1024;

View File

@@ -22,7 +22,7 @@ import java.util.Optional;
import java.util.function.Supplier;
public final class SoundCardItemDevice extends AbstractItemRPCDevice {
private static final int COOLDOWN_IN_TICKS = TickUtils.toTicks(Duration.ofSeconds(Config.soundCardCoolDownSeconds));
private final int COOLDOWN_IN_TICKS = TickUtils.toTicks(Duration.ofSeconds(Config.soundCardCoolDownSeconds));
private static final int MAX_FIND_RESULTS = 25;
///////////////////////////////////////////////////////////////////