Skip to content

Commit

Permalink
v0.8.8.1, fix teleport out of bounds issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Feb 14, 2021
1 parent 588c83f commit 72a5c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RecipeBrowserPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public override void PreUpdateBuffs()
{
if (Main.myPlayer == player.whoAmI && seenTiles != null)
{
if (!Main.playerInventory)
if (!Main.playerInventory && WorldGen.InWorld((int)player.position.X / 16, (int)player.position.Y / 16, 10))
Main.LocalPlayer.AdjTiles();
for (int i = 0; i < seenTiles.Length; i++)
{
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
author = jopojelly
version = 0.8.8
version = 0.8.8.1
displayName = Recipe Browser
homepage = https://forums.terraria.org/index.php?threads/recipe-browser.62462/
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, *.config, unused\*, .git\*,

0 comments on commit 72a5c55

Please sign in to comment.