public void update(int mx, int my, boolean[] buttonsPressed)
	{
	    if(BlockyMain.instance.getLevel() != null)
	    {
	        BlockyMain.instance.getLevel().tick();
	    }
		super.update(mx, my, buttonsPressed);
		
		if(checkCraft)
        {
            ArrayList<Craft> crafts = CraftingManager.getInstance().getResults(new ItemStack[]
                    {
                    slots[40].stack == null ? new ItemStack() : slots[40].stack,
                    slots[41].stack == null ? new ItemStack() : slots[41].stack,
                    slots[42].stack == null ? new ItemStack() : slots[42].stack,
                    });
            if(crafts.size() > 0)
            {
                //Temporary
                Craft c = crafts.get(0);
                if(slots[43].stack != null)
                {
                    player.dropStack(slots[43].stack);
                }
                slots[43].stack = c.getOutput().clone();
            }
            else
            {
                slots[43].stack = null;
            }
            checkCraft = false;
        }
	}