Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/java/com/sk89q/craftbook/mechanics/pipe/Pipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ private void startPipe(Block block, List<ItemStack> items, boolean request) {
|| facType == Material.CHISELED_BOOKSHELF
|| facType == Material.CRAFTER
|| facType == Material.DECORATED_POT
|| Tag.SHULKER_BOXES.isTagged(facType)) {
|| Tag.SHULKER_BOXES.isTagged(facType)
|| Tag.COPPER_CHESTS.isTagged(facType)) {
for (ItemStack stack : ((InventoryHolder) fac.getState()).getInventory().getContents()) {

if (!ItemUtil.isStackValid(stack))
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/sk89q/craftbook/util/InventoryUtil.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.sk89q.craftbook.util;

import org.bukkit.Material;
import org.bukkit.Tag;
import org.bukkit.block.Block;
import org.bukkit.block.BrewingStand;
import org.bukkit.block.Chest;
Expand Down Expand Up @@ -371,7 +372,7 @@ public static boolean doesBlockHaveInventory(Block block) {
case CRAFTER:
return true;
default:
return false;
return Tag.COPPER_CHESTS.isTagged(block.getType());
}
}

Expand Down
Loading