Skip to content

Commit

Permalink
Fix fakeplayer config typo (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
woshishabii authored Jan 23, 2025
1 parent 85c7bf1 commit 46e8b6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/server/0010-Fakeplayer-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4194,7 +4194,7 @@ index 0000000000000000000000000000000000000000..31f68872652b3ac217d3b4f56e3bdd77
+ private boolean value;
+
+ public AlwaysSendDataConfig() {
+ super("always_send_data", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("ture", "false")), AlwaysSendDataConfig::new);
+ super("always_send_data", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("true", "false")), AlwaysSendDataConfig::new);
+ this.value = LeavesConfig.modify.fakeplayer.canSendDataAlways;
+ }
+
Expand Down Expand Up @@ -4295,7 +4295,7 @@ index 0000000000000000000000000000000000000000..0d934910cff745ea9a53d651e2007963
+public class SkipSleepConfig extends BotConfig<Boolean> {
+
+ public SkipSleepConfig() {
+ super("skip_sleep", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("ture", "false")), SkipSleepConfig::new);
+ super("skip_sleep", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("true", "false")), SkipSleepConfig::new);
+ }
+
+ @Override
Expand Down Expand Up @@ -4345,7 +4345,7 @@ index 0000000000000000000000000000000000000000..983b358a5cc03f07d36a3924d5527529
+ private boolean value;
+
+ public SpawnPhantomConfig() {
+ super("spawn_phantom", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("ture", "false")), SpawnPhantomConfig::new);
+ super("spawn_phantom", CommandArgument.of(CommandArgumentType.BOOLEAN).setTabComplete(0, List.of("true", "false")), SpawnPhantomConfig::new);
+ this.value = LeavesConfig.modify.fakeplayer.canSpawnPhantom;
+ }
+
Expand Down

0 comments on commit 46e8b6c

Please sign in to comment.