mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2025-03-13 07:09:07 +01:00
Update VirtualCraftingHolder.java
Removed Debug commands
This commit is contained in:
parent
e8e84c8dde
commit
5d99493344
@ -217,10 +217,8 @@ public class VirtualCraftingHolder implements InventoryHolder {
|
||||
Inventory output;
|
||||
|
||||
if(blockBelow.getState() instanceof Hopper){
|
||||
Bukkit.broadcastMessage("Below is hopper!");
|
||||
Hopper hopper = (Hopper) blockBelow.getState();
|
||||
if(blockBelow.isBlockPowered() || blockBelow.isBlockIndirectlyPowered()){
|
||||
Bukkit.broadcastMessage("Hopper is powered!");
|
||||
continue; //If hopper is powered no crafting should happen.
|
||||
}
|
||||
output = hopper.getInventory();
|
||||
|
Loading…
Reference in New Issue
Block a user