Disable crafting of hoppers

This commit is contained in:
AlexTheCoder 2016-10-30 14:24:26 -04:00 committed by Shaun Bennett
parent 4fc2b875d4
commit 4a186a8dec

View File

@ -12,7 +12,7 @@ import mineplex.core.common.util.UtilPlayer;
public class CustomRecipes implements Listener
{
private static final Material[] DISABLED_RECIPES = { Material.EXPLOSIVE_MINECART, Material.JUKEBOX, Material.FISHING_ROD, Material.BED, Material.BOAT};
private static final Material[] DISABLED_RECIPES = { Material.EXPLOSIVE_MINECART, Material.JUKEBOX, Material.FISHING_ROD, Material.BED, Material.BOAT, Material.HOPPER, Material.HOPPER_MINECART };
@EventHandler
public void onPlayerCraftItem(CraftItemEvent event)