diff --git a/src/main/java/dan200/computercraft/shared/peripheral/generic/methods/InventoryMethods.java b/src/main/java/dan200/computercraft/shared/peripheral/generic/methods/InventoryMethods.java index b8585f425..c8a1c0749 100644 --- a/src/main/java/dan200/computercraft/shared/peripheral/generic/methods/InventoryMethods.java +++ b/src/main/java/dan200/computercraft/shared/peripheral/generic/methods/InventoryMethods.java @@ -127,7 +127,7 @@ public static int size( IItemHandler inventory ) * @cc.usage Wrap two chests, and push an item from one to another. *
{@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) * }@@ -175,7 +175,7 @@ public static int pushItems( * @cc.usage Wrap two chests, and push an item from one to another. *
{@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) * }