mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-01 11:49:12 +00:00
Fix copy-paste error in inventory docs
I'm a very silly squid.
This commit is contained in:
parent
4ae370b9db
commit
f5eb6ce03e
@ -127,7 +127,7 @@ public class InventoryMethods implements GenericSource
|
|||||||
* @cc.usage Wrap two chests, and push an item from one to another.
|
* @cc.usage Wrap two chests, and push an item from one to another.
|
||||||
* <pre>{@code
|
* <pre>{@code
|
||||||
* local chest_a = peripheral.wrap("minecraft:chest_0")
|
* 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)
|
* chest_a.pushItems(peripheral.getName(chest_b), 1)
|
||||||
* }</pre>
|
* }</pre>
|
||||||
@ -175,7 +175,7 @@ public class InventoryMethods implements GenericSource
|
|||||||
* @cc.usage Wrap two chests, and push an item from one to another.
|
* @cc.usage Wrap two chests, and push an item from one to another.
|
||||||
* <pre>{@code
|
* <pre>{@code
|
||||||
* local chest_a = peripheral.wrap("minecraft:chest_0")
|
* 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)
|
* chest_a.pullItems(peripheral.getName(chest_b), 1)
|
||||||
* }</pre>
|
* }</pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user