mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-10-25 20:32:19 +00:00
Fix large stack counts in bookmark pulls (#71)
This commit is contained in:
1 parent
2ad0303c55
commit
7d9e40d0ef
1 file changed
+2
-1
@@ -11,6 +11,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import com.github.vfyjxf.nee.network.NEENetworkHandler;
|
||||
import com.github.vfyjxf.nee.network.packet.PacketNEIBookmark;
|
||||
import com.github.vfyjxf.nee.utils.GuiUtils;
|
||||
import com.github.vfyjxf.nee.utils.ItemUtils;
|
||||
|
||||
import codechicken.nei.api.IBookmarkContainerHandler;
|
||||
|
||||
@@ -38,6 +39,6 @@ public class NEETerminalBookmarkContainerHandler implements IBookmarkContainerHa
|
||||
}
|
||||
|
||||
private NBTTagCompound packBookmarkItem(ItemStack bookmarkItem) {
|
||||
return bookmarkItem.writeToNBT(new NBTTagCompound());
|
||||
return ItemUtils.writeItemStackToNBT(bookmarkItem, bookmarkItem.stackSize);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user