Skip to content

Commit

Permalink
Check directly for tclayer instead of just accessories
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Aug 2, 2024
1 parent 6685255 commit c347cc2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/eu/pb4/graves/GravesMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ public void onInitialize() {
InventorioCompat.register();
}

var hasAccessories = loader.isModLoaded("accessories");

if (hasAccessories) {
if (loader.isModLoaded("accessories")) {
AccessoriesCompat.register();
}

if (loader.isModLoaded("trinkets")) {
TrinketsCompat.register(hasAccessories);
TrinketsCompat.register(loader.isModLoaded("tclayer"));
}
if (loader.isModLoaded("sgod")) {
SaveGearOnDeathCompat.register();
Expand Down

0 comments on commit c347cc2

Please sign in to comment.