Skip to content

Commit

Permalink
Handle custom_potion_effects tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 committed Mar 3, 2024
1 parent 35b9b03 commit 5fd1909
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public class NbtCheck_CustomPotionEffects extends NbtCheck {

public NbtCheck_CustomPotionEffects() {
super("CustomPotionEffects", PStrictness.AVERAGE);
super("CustomPotionEffects", PStrictness.AVERAGE, "custom_potion_effects");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.ruinscraft.panilla.api.nbt.checks;

public class NbtCheck_custom_potion_effects extends NbtCheck_CustomPotionEffects {

@Override
public String getName() {
return "custom_potion_effects";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public final class NbtChecks {
register(new NbtCheck_RepairCost());
register(new NbtCheck_AttributeModifiers());
register(new NbtCheck_CustomPotionEffects());
register(new NbtCheck_custom_potion_effects());
register(new NbtCheck_Potion());
register(new NbtCheck_CustomPotionColor());
register(new NbtCheck_display());
Expand Down

0 comments on commit 5fd1909

Please sign in to comment.