Fixed dumb wording mistake.

This commit is contained in:
2021-09-29 01:29:29 +01:00
parent 9b9ffc2840
commit cb04fd8e9b
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ public class Config {
public static ForgeConfigSpec.BooleanValue POST_FIRE_ENABLED;
public static ForgeConfigSpec.IntValue POST_FIRE_DURATION;
public static ForgeConfigSpec.BooleanValue MAIN_PLAYER_TARGET_ENABLED;
public static ForgeConfigSpec.BooleanValue MAIN_IGNORE_PLAYER_ENABLED;
public static void init() {
initServer();
@ -29,9 +29,9 @@ public class Config {
ForgeConfigSpec.Builder builder = new ForgeConfigSpec.Builder();
builder.comment("Main protection settings for protecting inactive (loading) players.").push("main");
MAIN_PLAYER_TARGET_ENABLED = builder
.comment("Whether mobs will still target/attack a protected player.")
.define("playerTargetEnabled", true);
MAIN_IGNORE_PLAYER_ENABLED = builder
.comment("Whether mobs will ignore a protected player. (They will not attack/aggro)")
.define("ignorePlayerEnabled", true);
builder.pop();
builder.comment("Additional protection settings that apply as soon as a player becomes active.").push("post");