diff --git a/gradle.properties b/gradle.properties index 0043048..f489258 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ org.gradle.daemon=false mappings_version=2022.02.13-1.18.1 # Mod Properties - mod_version=1.0.3.1 + mod_version=1.0.4 mod_id=origins_classes mod_author=LimonBlaze maven_group=limonblaze.originsclasses diff --git a/src/main/java/limonblaze/originsclasses/mixin/AbstractCauldronBlockMixin.java b/src/main/java/limonblaze/originsclasses/mixin/AbstractCauldronBlockMixin.java index 1c2908b..a0c73f4 100644 --- a/src/main/java/limonblaze/originsclasses/mixin/AbstractCauldronBlockMixin.java +++ b/src/main/java/limonblaze/originsclasses/mixin/AbstractCauldronBlockMixin.java @@ -35,7 +35,7 @@ public class AbstractCauldronBlockMixin { ItemStack stack = player.getItemInHand(hand); if(stack.getItem() instanceof PotionItem && !PotionUtils.getPotion(stack).getEffects().isEmpty() && - NbtUtils.getOriginsClassesData(stack, NbtUtils.POTION_BONUS, NbtType.BYTE).isPresent()) { + !NbtUtils.getOriginsClassesData(stack, NbtUtils.POTION_BONUS, NbtType.BYTE).isPresent()) { int bonus = IPowerContainer.getPowers(player, OriginsClassesPowers.POTION_BONUS.get()).stream() .filter(cp -> cp.isActive(player)).mapToInt(cp -> cp.getConfiguration().value()).sum(); if(bonus > 0) {