private void Display_RenderingHud(object sender, RenderingHudEventArgs e) { if (Context.IsWorldReady && Game1.currentLocation != null && Game1.activeClickableMenu == null && Game1.player.CurrentItem != null && Game1.player.CurrentItem.canBeGivenAsGift() && Game1.player.CurrentItem.ParentSheetIndex == PalmTreeSeed && this.Config.Show_Placement_Icon && (!this.Config.Use_Modifier_Key || Helper.Input.IsDown(this.Config.Modifier_Key))) { // Again, let's pretend to be an acorn StardewValley.Object fakeSeed = new StardewValley.Object(OakTreeSeed, 1); fakeSeed.drawPlacementBounds(e.SpriteBatch, Game1.currentLocation); } }