mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-25 22:14:09 -04:00
Merge pull request #16 from botn365/patch-1
alow nbt reading from research station
This commit is contained in:
commit
150fbec4ba
@ -27,7 +27,7 @@ class ConverterDataStick extends Converter {
|
||||
.toArray[NBTTagString].map((tag: NBTTagString) => tag.func_150285_a_().split('\n'))
|
||||
case _ =>
|
||||
}
|
||||
else if (nbt.hasKey("author") && nbt.getString("author") == "Assembling Line Recipe Generator" && nbt.hasKey("output")) {
|
||||
else if (nbt.hasKey("author") && nbt.getString("author").contains("Recipe Generator") && nbt.hasKey("output")) {
|
||||
val outputItem = ItemStack.loadItemStackFromNBT(nbt.getCompoundTag("output"))
|
||||
output += "output" -> outputItem.getDisplayName
|
||||
output += "time" -> nbt.getInteger("time").toString
|
||||
|
Loading…
x
Reference in New Issue
Block a user