#include "stdafx.h"
#include "GravelTile.h"
#include "net.minecraft.world.item.h"

GravelTile::GravelTile(int type) : HeavyTile(type)
{
}

int GravelTile::getResource(int data, Random *random, int playerBonusLevel)
{
    if (random->nextInt(10 - playerBonusLevel * 3) == 0) return Item::flint->id;
    return id;
}