Skip to content

Commit 45961ca

Browse files
authored
Update CCVSConfig.java
1 parent 291b953 commit 45961ca

File tree

1 file changed

+17
-9
lines changed
  • fabric/src/main/java/io/github/techtastic/cc_vs/fabric/config

1 file changed

+17
-9
lines changed

fabric/src/main/java/io/github/techtastic/cc_vs/fabric/config/CCVSConfig.java

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,24 @@ public class CCVSConfig {
1313
static {
1414
BUILDER.push("CC: VS Mod Config");
1515

16-
CAN_TELEPORT = BUILDER.comment("Is ExtendedShipAPI.teleport() enabled?", "Enable at your own Risk!")
17-
.worldRestart().translation("config.cc_vs.can_teleport").define("can_teleport", false);
18-
COMMAND_ONLY = BUILDER.comment("Is ExtendedShipAPI only available for the Command Computer?",
19-
"This API is more powerful than the normal and advanced ShipAPI.").worldRestart()
20-
.translation("config.cc_vs.command_only").define("command_only", true);
21-
EXPOSE_PHYS_TICK = BUILDER.comment("Expose PhysShipImpl from the physics tick?",
22-
"This will fire an event every physics tick for every computer using ExtendedShipAPI on a Ship. Concurrency issues may occur!").worldRestart()
23-
.translation("config.cc_vs.expose_phys_tick").define("expose_phys_tick", false);
16+
CAN_TELEPORT = BUILDER
17+
.comment("Is ExtendedShipAPI.teleport() enabled?", "Enable at your own Risk!")
18+
.worldRestart()
19+
.translation("config.cc_vs.can_teleport")
20+
.define("can_teleport", false);
21+
COMMAND_ONLY = BUILDER
22+
.comment("Is ExtendedShipAPI only available for the Command Computer?",
23+
"This API is more powerful than the normal and advanced ShipAPI.")
24+
.worldRestart()
25+
.translation("config.cc_vs.command_only")
26+
.define("command_only", true);
27+
EXPOSE_PHYS_TICK = BUILDER
28+
.comment("Expose PhysShipImpl from the physics tick?")
29+
.worldRestart()
30+
.translation("config.cc_vs.expose_phys_tick")
31+
.define("expose_phys_tick", false);
2432

2533
BUILDER.pop();
2634
SPEC = BUILDER.build();
2735
}
28-
}
36+
}

0 commit comments

Comments
 (0)