CC: Tweaked

CC: Tweaked

42M Downloads

[1.16.5] Accessing Storage Drawers with Wired Modems causes Server Spam

Flexico opened this issue ยท 4 comments

commented

Minecraft Version

1.16.x

Version

1.98.2

Details

Here's the code I'm running:
[code]
local a,b,c,d = peripheral.find("standardDrawer")
local drawers = { a.getItemDetail(1), b.getItemDetail(1), c.getItemDetail(1), d.getItemDetail(1) }
[/code]
The code works, as in it gets the correct information for the rest of the program to process and display what I need, but every time the "drawers = ..." assignment is run, the server log gets spammed with 6 copies of:
[code]
[ComputerCraft-Coroutine-26/WARN] [computercraft/]: Received unknown type 'net.minecraft.util.ResourceLocation', returning nil.
[/code]
StorageDrawers version: 1.16.3-8.3.0
https://www.curseforge.com/minecraft/mc-mods/storage-drawers

commented

I cannot reproduce this with just cobblestone in the drawer, and a quick audit of the code shows this shouldn't happen. A couple of questions:

  • Are you running any peripheral mods? IIRC Advanced Peripherals overrides the storage drawer inventory with its own.
  • What item is in the drawer?
commented

@Flexico did you have Advanced Peripherals installed?

commented

I do have Advanced Peripherals installed! I forgot to mention that; version 0.7.2.
There are four drawers: minecraft:stick, create:brass_ingot, create:brass_hand, and create:precision_mechanism.

For the sake of completeness, here is my whole program: https://pastebin.com/NCrNEeVr
The bundled cable inputs are from the Create Depots, which the drawers are feeding into.

commented