Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed May 6, 2024
1 parent 0584238 commit a921987
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if (System.getenv("MODRINTH")) {
uploadFile = remapJar // This links to a task that builds your mod jar and sets "uploadFile" to the mod jar.
gameVersions = [((String) project.minecraft_version)]
changelog = System.getenv("CHANGELOG")
loaders = ["fabric", "quilt"]
loaders = ["fabric"/*, "quilt"*/]
}

remapJar {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fabric_version=0.95.6+1.20.5


# Mod Properties
mod_version = 3.3.2+1.20.5
mod_version = 3.3.3+1.20.5
maven_group = eu.pb4
archives_base_name = graves

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/eu/pb4/graves/grave/PositionedItemStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public record PositionedItemStack(ItemStack stack, int slot, @Nullable GraveInve

public NbtCompound toNbt(RegistryWrapper.WrapperLookup lookup) {
var nbt = new NbtCompound();
nbt.put(ITEM_TAG, stack.encode(lookup));
nbt.put(ITEM_TAG, stack.encodeAllowEmpty(lookup));
nbt.putString(MASK_TAG, GravesApi.getInventoryMaskId(inventoryMask).toString());
nbt.putInt(SLOT_TAG, slot);
if (optionalData != null) {
Expand Down

0 comments on commit a921987

Please sign in to comment.