Skip to content

Commit

Permalink
fix(storage-api): PotionType is now managing extendable or upgradable
Browse files Browse the repository at this point in the history
It appears that this change was made on 10/9. I didn't notice it at all. Thanks Spigot :(
  • Loading branch information
Siroshun09 committed Nov 27, 2023
1 parent 71c5ebb commit b9a14a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static int version() {
List.of(Material.POTION, Material.SPLASH_POTION, Material.LINGERING_POTION, Material.TIPPED_ARROW);

for (var type : PotionType.values()) {
if (type == PotionType.UNCRAFTABLE) {
if (type == PotionType.UNCRAFTABLE || type.name().startsWith("LONG") || type.name().startsWith("STRONG")) {
continue;
}

Expand Down

0 comments on commit b9a14a8

Please sign in to comment.