Skip to content

Commit

Permalink
changed mod string to mod id constant
Browse files Browse the repository at this point in the history
  • Loading branch information
kill05 committed Jun 19, 2024
1 parent cb25ac3 commit ac147f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.kill05.architectstools.config;

import com.github.kill05.architectstools.ArchitectTools;
import turniplabs.halplibe.util.TomlConfigHandler;
import turniplabs.halplibe.util.toml.Toml;

Expand Down Expand Up @@ -27,7 +28,7 @@ public final class ArchitectConfig {
toml.addCategory("Change how the game and the mod are played.", "Gameplay");
toml.addEntry("Gameplay.DisableVanillaTools", "Set to true to disable vanilla tools so players can only use tools from Architect's Tools.", false);

CONFIG = new TomlConfigHandler("architectstools", toml);
CONFIG = new TomlConfigHandler(ArchitectTools.MOD_ID, toml);

PART_ID = toml.get("IDs.Parts", Integer.class);
TOOL_ID = toml.get("IDs.Tools", Integer.class);
Expand Down

0 comments on commit ac147f3

Please sign in to comment.