Skip to content

Commit

Permalink
Fix being unable to disassemble portable chemical cells (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 authored Feb 20, 2024
1 parent 6dd092d commit 27aefb2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package me.ramidzkh.mekae2.item;

import java.util.Objects;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.inventory.MenuType;
import net.minecraft.world.item.ItemStack;

Expand Down Expand Up @@ -27,4 +30,9 @@ public boolean isBlackListed(ItemStack cellItem, AEKey requestedAddition) {

return true;
}

@Override
public ResourceLocation getRecipeId() {
return Objects.requireNonNull(getRegistryName());
}
}

0 comments on commit 27aefb2

Please sign in to comment.