AlanBF
Newcomer
The code that handles what are the items dropped when cutting down a tree reads
It should read
C#:
Item item = this.TryGetDrop(drop, r, lastHitBy, "ChopItems", null, false);
if (item != null)
{
if (drop.ItemId == "709")
{
numHardwood += item.Stack;
addedAdditionalHardwood = true;
}
else
{
Game1.createMultipleItemDebris(item, new Vector2(tileLocation.X + (float)(this.shakeLeft.Value ? (-4) : 4), tileLocation.Y) * 64f, -2, location);
}
}
C#:
Item item = this.TryGetDrop(drop, r, lastHitBy, "ChopItems", null, false);
if (item != null)
{
if (item.ItemId == "709")
{
numHardwood += item.Stack;
addedAdditionalHardwood = true;
}
else
{
Game1.createMultipleItemDebris(item, new Vector2(tileLocation.X + (float)(this.shakeLeft.Value ? (-4) : 4), tileLocation.Y) * 64f, -2, location);
}
}