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 and Technici4n committed Feb 25, 2024
1 parent b114188 commit e86fbf0
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 e86fbf0

Please sign in to comment.