1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-31 01:27:55 +00:00

Fix copy-paste error in inventory docs

I'm a very silly squid.
This commit is contained in:
Jonathan Coates
2020-12-15 09:31:12 +00:00
committed by GitHub
parent 4ae370b9db
commit f5eb6ce03e

View File

@@ -127,7 +127,7 @@ public class InventoryMethods implements GenericSource
* @cc.usage Wrap two chests, and push an item from one to another.
* <pre>{@code
* local chest_a = peripheral.wrap("minecraft:chest_0")
* local chest_b = peripheral.wrap("minecraft:chest_0")
* local chest_b = peripheral.wrap("minecraft:chest_1")
*
* chest_a.pushItems(peripheral.getName(chest_b), 1)
* }</pre>
@@ -175,7 +175,7 @@ public class InventoryMethods implements GenericSource
* @cc.usage Wrap two chests, and push an item from one to another.
* <pre>{@code
* local chest_a = peripheral.wrap("minecraft:chest_0")
* local chest_b = peripheral.wrap("minecraft:chest_0")
* local chest_b = peripheral.wrap("minecraft:chest_1")
*
* chest_a.pullItems(peripheral.getName(chest_b), 1)
* }</pre>