This commit is contained in:
Peroalane 2016-03-20 18:52:25 +01:00
parent 66cc475d9f
commit c1c9832fb1

View File

@ -60,13 +60,10 @@ namespace TrueCraft.Core.Logic.Blocks
protected override ItemStack[] GetDrop(BlockDescriptor descriptor, ItemStack item)
{
if (MathHelper.Random.Next (1, 24) == 1) {
if (MathHelper.Random.Next (1, 24) == 1)
return new[] { new ItemStack (SeedsItem.ItemID, (sbyte)1) };
}
else
{
return new[] { new ItemStack(-1) };
}
}
}
}