Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Fix trinkets not registered properly
Browse files Browse the repository at this point in the history
  • Loading branch information
florensie committed Oct 11, 2021
1 parent 1d35689 commit f73671e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.0.2] - 2021-10-04
### Fixed
- Charm of Sinking and Crystal Heart effects not working properly

## [5.0.1] - 2021-10-04
### Fixed
- Update expandability to properly working version
Expand Down Expand Up @@ -210,8 +214,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release

[5.0.0]: https://github.com/florensie/artifacts-fabric/compare/v5.0.0...HEAD
[5.0.0]: https://github.com/florensie/artifacts-fabric/compare/v4.0.1...5.0.0
[Unreleased]: https://github.com/florensie/artifacts-fabric/compare/v5.0.2...HEAD
[5.0.2]: https://github.com/florensie/artifacts-fabric/compare/v5.0.1...v5.0.2
[5.0.1]: https://github.com/florensie/artifacts-fabric/compare/v5.0.0...v5.0.1
[5.0.0]: https://github.com/florensie/artifacts-fabric/compare/v4.0.1...v5.0.0
[4.0.1]: https://github.com/florensie/artifacts-fabric/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/florensie/artifacts-fabric/compare/v3.2.1...v4.0.0
[3.2.1]: https://github.com/florensie/artifacts-fabric/compare/v3.2.0...v3.2.1
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ loader_version=0.11.7
parchment_version=2021.09.05

# Mod Properties
mod_version=5.0.1
mod_version=5.0.2
maven_group=artifacts
archives_base_name=artifacts

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/artifacts/item/curio/TrinketArtifactItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import dev.emi.trinkets.api.SlotReference;
import dev.emi.trinkets.api.Trinket;
import dev.emi.trinkets.api.TrinketItem;
import dev.emi.trinkets.api.TrinketsApi;
import net.minecraft.ChatFormatting;
import net.minecraft.client.Minecraft;
import net.minecraft.nbt.CompoundTag;
Expand Down Expand Up @@ -37,6 +38,7 @@ public class TrinketArtifactItem extends ArtifactItem implements Trinket {
public TrinketArtifactItem() {
// DispenserBlock.registerBehavior(this, TrinketItem.TRINKET_DISPENSER_BEHAVIOR); TODO: bug, missing in trinkets rewrite
PlayHurtSoundCallback.EVENT.register(this::playExtraHurtSound);
TrinketsApi.registerTrinket(this, this);
}

@Override
Expand Down

0 comments on commit f73671e

Please sign in to comment.