It says colliding if the player is colliding

master
shoaib11120 2021-12-25 06:53:17 +05:30
parent 8fd846a5bc
commit 83b53fe9a9
1 changed files with 6 additions and 1 deletions

View File

@ -245,6 +245,11 @@ namespace stardew_access
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<Vector2, Netcode.NetRef<TerrainFeature>> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;