Skip to content

Commit

Permalink
Fixes some compilation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Aug 16, 2024
1 parent 95ab945 commit 3559c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ else if (leftId == ModItems.INSCRIPTION.getRegistryName())
else if (leftId == ModItems.VAULT_CRYSTAL.getRegistryName())
{
CrystalData leftData = CrystalData.empty();
leftData.deserializeNBT(leftWhat.toTag().getCompound("tag").getCompound("CrystalData"));
leftData.readNbt(leftWhat.toTag().getCompound("tag").getCompound("CrystalData"));

CrystalData rightData = CrystalData.empty();
rightData.deserializeNBT(rightWhat.toTag().getCompound("tag").getCompound("CrystalData"));
rightData.readNbt(rightWhat.toTag().getCompound("tag").getCompound("CrystalData"));

return switch (sortOrder) {
case NAME -> SortingHelper.compareVaultCrystals(leftName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ public interface InvokerGearDataCache
* This method allows to call private method cacheTag.
* @return The cache tag.
*/
@Invoker
@Invoker(value = "cacheTag", remap = false)
public CompoundTag callCacheTag();
}

0 comments on commit 3559c7d

Please sign in to comment.