From 83b53fe9a9c389b2f800cbc83714473a9c789fdb Mon Sep 17 00:00:00 2001 From: shoaib11120 Date: Sat, 25 Dec 2021 06:53:17 +0530 Subject: [PATCH] It says colliding if the player is colliding --- stardew-access/ModEntry.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stardew-access/ModEntry.cs b/stardew-access/ModEntry.cs index ad8578e..83b5d57 100644 --- a/stardew-access/ModEntry.cs +++ b/stardew-access/ModEntry.cs @@ -239,12 +239,17 @@ namespace stardew_access x -= offset; break; } - + x /= Game1.tileSize; y /= Game1.tileSize; Vector2 gt = new Vector2(x, y); #endregion + if (!Game1.currentLocation.isTilePassable(Game1.player.nextPosition(Game1.player.getDirection()), Game1.viewport)) + { + ScreenReader.sayWithTileQuery("Colliding", x, y, true); + } + if (Context.IsPlayerFree) { Dictionary> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;