@Override public void setItem(MCItemStack item) { if(item == null || "AIR".equals(item.getType().getName())) { throw new CREIllegalArgumentException("Due to Bukkit's handling of this event, the item cannot be set to null." + " Until they change this, workaround by cancelling the event and manipulating the block" + " using inventory functions.", Target.UNKNOWN); } else { bde.setItem(((BukkitMCItemStack) item).asItemStack()); } }