So how would I make it so only ore/dirt form the infinite mining mod(your mod) gets mined when the player touches it?
function gunProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal)
{
parent::onCollision(%this, %obj, %col, %fade, %pos, %normal);
if(%obj.client.isAdmin)
Dig_mineBrick(%obj, %col, %pos);
}
This is from your mod, I want something like this, except that when the player touches it, it gets mined.
EDIT: it didn't work BTW, thanks for trying guys