aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java')
-rw-r--r--src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java b/src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java
index 3a47e89..56996fa 100644
--- a/src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java
+++ b/src/main/java/dev/mayaqq/ygasi/abilities/mercenary/Defence2.java
@@ -6,13 +6,13 @@ import net.minecraft.util.Identifier;
public class Defence2 {
public static void give(ServerPlayerEntity player) {
- if (!AdvUtils.getAdvancementProgress(player, "minecraft", "ygasi/defence2")) {
- AdvUtils.grantAdvancementCriterion(player, new Identifier("minecraft", "ygasi/defence2"), "unlocked_defence2");
+ if (!AdvUtils.getAdvancementProgress(player, "ygasi", "mercenary/defence2")) {
+ AdvUtils.grantAdvancementCriterion(player, new Identifier("ygasi", "mercenary/defence2"), "unlocked_defence2");
}
}
public static void revoke(ServerPlayerEntity player) {
- if (AdvUtils.getAdvancementProgress(player, "minecraft", "ygasi/defence2")) {
- AdvUtils.revokeAllAdvancements(player, "minecraft", "ygasi/defence2");
+ if (AdvUtils.getAdvancementProgress(player, "ygasi", "mercenary/defence2")) {
+ AdvUtils.revokeAllAdvancements(player, "ygasi", "mercenary/defence2");
}
}
}