diff --git a/CHANGELOG.md b/CHANGELOG.md index 6974ca8..0555fbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1 @@ -- Fix hotbar rendering even when F1 is pressed. -- Fix server crash (#48). -- Move config client side, since all of its options were only applicable there. -- Fix issue with using enchanted items in the belt (#49). -- General stability improvements. -- Compress icon. -- Fix cases like tridents with loyalty not returning to the belt if it is selected. - -Thanks to blodhgarm, developer of the Accessories mod, for finding and fixing the illusive enchantment issue. +- Fix (#31). diff --git a/common/src/main/java/io/github/jamalam360/utility_belt/UtilityBeltItem.java b/common/src/main/java/io/github/jamalam360/utility_belt/UtilityBeltItem.java index 883afe2..c55defc 100644 --- a/common/src/main/java/io/github/jamalam360/utility_belt/UtilityBeltItem.java +++ b/common/src/main/java/io/github/jamalam360/utility_belt/UtilityBeltItem.java @@ -7,13 +7,11 @@ import java.util.function.Consumer; import io.wispforest.accessories.api.AccessoryItem; -import io.wispforest.accessories.api.DropRule; import io.wispforest.accessories.api.slot.SlotEntryReference; import io.wispforest.accessories.api.slot.SlotReference; import net.minecraft.network.chat.Component; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.Mth; -import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.SlotAccess; import net.minecraft.world.entity.player.Player; @@ -176,9 +174,4 @@ public void onEquip(ItemStack stack, SlotReference reference) { StateManager.getStateManager(player).setInventory(player, new Mutable(getInventory(stack))); } } - - @Override - public DropRule getDropRule(ItemStack stack, SlotReference reference, DamageSource source) { - return DropRule.DROP; - } } diff --git a/gradle.properties b/gradle.properties index 63705e3..90368b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false org.gradle.parallel=true -version=2.4.0+1.21 +version=2.4.1+1.21 minecraft_version=1.21 branch=main group=io.github.jamalam360