diff --git a/core/pom.xml b/core/pom.xml index 989df49..db1e5c1 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -10,7 +10,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 diff --git a/core/src/main/java/me/tippie/customadvancements/commands/CommandSet.java b/core/src/main/java/me/tippie/customadvancements/commands/CommandSet.java index 4c745d7..bdf5cf0 100644 --- a/core/src/main/java/me/tippie/customadvancements/commands/CommandSet.java +++ b/core/src/main/java/me/tippie/customadvancements/commands/CommandSet.java @@ -100,6 +100,8 @@ public void execute(final CommandSender sender, final Command command, final Str progress.setProgress(advancement.getMaxProgress()); } else if (progress.isCompleted() || progress.getProgress() >= advancement.getMaxProgress()) { progress.setProgress(0); + progress.setCompleted(false); + progress.setAnnounced(false); } sender.sendMessage(Lang.COMMAND_SET_PROGRESS_RESPONSE.getConfigValue(new String[]{type, args[2], args[3], value})); } else if (type.equalsIgnoreCase("progress")) { diff --git a/dist/pom.xml b/dist/pom.xml index e9cbc39..ebcd648 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -10,7 +10,7 @@ customadvancements-parent me.tippie - 1.2.3 + 1.2.4 diff --git a/pom.xml b/pom.xml index d84838d..d336bf6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 pom CustomAdvancements diff --git a/spigot_1_17_R1/pom.xml b/spigot_1_17_R1/pom.xml index 06fba20..7d7dae2 100644 --- a/spigot_1_17_R1/pom.xml +++ b/spigot_1_17_R1/pom.xml @@ -10,7 +10,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 @@ -48,7 +48,7 @@ net.md-5 specialsource-maven-plugin - 1.2.3 + 1.2.4 package diff --git a/spigot_1_18_R1/pom.xml b/spigot_1_18_R1/pom.xml index b4b6827..3dcb48f 100644 --- a/spigot_1_18_R1/pom.xml +++ b/spigot_1_18_R1/pom.xml @@ -10,7 +10,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 @@ -48,7 +48,7 @@ net.md-5 specialsource-maven-plugin - 1.2.3 + 1.2.4 package diff --git a/spigot_1_18_R2/pom.xml b/spigot_1_18_R2/pom.xml index 16d2076..735bf87 100644 --- a/spigot_1_18_R2/pom.xml +++ b/spigot_1_18_R2/pom.xml @@ -10,7 +10,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 @@ -48,7 +48,7 @@ net.md-5 specialsource-maven-plugin - 1.2.3 + 1.2.4 package diff --git a/spigot_1_19_R1/pom.xml b/spigot_1_19_R1/pom.xml index 741e657..55c33e8 100644 --- a/spigot_1_19_R1/pom.xml +++ b/spigot_1_19_R1/pom.xml @@ -10,7 +10,7 @@ me.tippie customadvancements-parent - 1.2.3 + 1.2.4 @@ -48,7 +48,7 @@ net.md-5 specialsource-maven-plugin - 1.2.3 + 1.2.4 package