mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-26 23:03:05 +00:00
Don't merge stacks for AL recipes (#10)
* Don't merge stacks for AL recipes * use WILDCARD_VALUE
This commit is contained in:
1 parent
86ce155d07
commit
71bc78fa20
4 files changed
+19
-13
No files matched your search
@@ -36,6 +36,7 @@ import net.minecraft.nbt.CompressedStreamTools;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraftforge.client.event.GuiScreenEvent;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
@@ -109,8 +110,7 @@ public class NEECraftingHelper implements IOverlayHandler {
|
||||
}
|
||||
}
|
||||
|
||||
//Fix ItemStack with wrong meta
|
||||
if (stack.getItemDamage() == 32767) {
|
||||
if (stack.getItemDamage() == OreDictionary.WILDCARD_VALUE) {
|
||||
stack.setItemDamage(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user