Compare commits
No commits in common. "49833b227098d20f48d3d5afca950e8562b751ea" and "14bd08b16c103337c82bddf1c1491f1dcf44fd24" have entirely different histories.
49833b2270
...
14bd08b16c
|
@ -20,13 +20,6 @@ local function ItemStack_new(item)
|
||||||
end
|
end
|
||||||
|
|
||||||
function ItemStack:getName()
|
function ItemStack:getName()
|
||||||
--- check for custom name
|
|
||||||
if self.data.hasTagCompount() then
|
|
||||||
local nbt = self.data.getTagCompount()
|
|
||||||
if nbt.value.display and nbt.value.display.value.Name then
|
|
||||||
return nbt.value.display.value.Name.value
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return self.data.getName()
|
return self.data.getName()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
local component = require("component")
|
|
||||||
local pipe = component.logisticspipe.getPipe()
|
local pipe = component.logisticspipe.getPipe()
|
||||||
local items = pipe.getAvailableItems()
|
local items = pipe.getAvailableItems()
|
||||||
print("Requesting all items I can find... this might take up a lot of storage space!")
|
print("Requesting all items I can find... this might take up a lot of storage space!")
|
||||||
|
|
Loading…
Reference in New Issue