From 5a4fdbf97acfcf099128b1b358cd448cb89c324c Mon Sep 17 00:00:00 2001 From: LlmDl Date: Fri, 12 Jul 2024 07:42:54 -0500 Subject: [PATCH] Fix /ta command that sets a culture keeping Culture in the name. --- pom.xml | 2 +- .../goosius/townycultures/command/TownyAdminCultureAddon.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index bcff3ad..45ef7c0 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.goosius TownyCultures - 2.0.1 + 2.0.2 townycultures diff --git a/src/main/java/com/gmail/goosius/townycultures/command/TownyAdminCultureAddon.java b/src/main/java/com/gmail/goosius/townycultures/command/TownyAdminCultureAddon.java index c1a476d..0751e0b 100644 --- a/src/main/java/com/gmail/goosius/townycultures/command/TownyAdminCultureAddon.java +++ b/src/main/java/com/gmail/goosius/townycultures/command/TownyAdminCultureAddon.java @@ -159,7 +159,7 @@ private void parseTownCommand(CommandSender sender, String[] args) throws TownyE && args[2].equalsIgnoreCase("culture")) { Town town = getTownOrThrow(args[0]); - String newCulture = CultureUtil.validateCultureName(StringMgmt.join(StringMgmt.remArgs(args, 2), " ")); + String newCulture = CultureUtil.validateCultureName(StringMgmt.join(StringMgmt.remArgs(args, 3), " ")); //Set culture TownMetaDataController.setTownCulture(town, newCulture);