From 46e8b6c59c099b84623b5d5e92e577f3ec5511c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=82=BB=E9=80=BC?= <51900038+woshishabii@users.noreply.github.com> Date: Thu, 23 Jan 2025 20:41:46 +0800 Subject: [PATCH] Fix fakeplayer config typo (#403) --- patches/server/0010-Fakeplayer-support.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/0010-Fakeplayer-support.patch b/patches/server/0010-Fakeplayer-support.patch index b33c3d5..926a639 100644 --- a/patches/server/0010-Fakeplayer-support.patch +++ b/patches/server/0010-Fakeplayer-support.patch @@ -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; + } + @@ -4295,7 +4295,7 @@ index 0000000000000000000000000000000000000000..0d934910cff745ea9a53d651e2007963 +public class SkipSleepConfig extends BotConfig { + + 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 @@ -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; + } +