diff --git a/InvTweaksPlayer.cs b/InvTweaksPlayer.cs index d9103c3..57d7025 100644 --- a/InvTweaksPlayer.cs +++ b/InvTweaksPlayer.cs @@ -39,7 +39,6 @@ public void PlaceTree() Item item = player.inventory[i]; if (item.type == ItemID.Acorn) { - //Main.NewText("index: " + i); originalSelectedItem = player.selectedItem; autoRevertSelectedItem = true; player.selectedItem = i; diff --git a/InvTweaksUI.cs b/InvTweaksUI.cs index f7aed19..596a494 100644 --- a/InvTweaksUI.cs +++ b/InvTweaksUI.cs @@ -20,8 +20,7 @@ public override void OnInitialize() { panel = new DragableUIPanel(); panel.SetPadding(0); - panel.Left.Set(500, 0); - panel.Top.Set(258, 0); + panel.HAlign = panel.VAlign = .5f; panel.Width.Set(180, 0); panel.Height.Set(70, 0); diff --git a/build.txt b/build.txt index 13c648b..e94c0b4 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = Agrair -version = 2.4 +version = 2.4.1 displayName = Inventory Tweaks buildIgnore = .vs/, .csproj, bin/, obj/, LICENSE, .gitignore, .git, .sln, .user includePDB = true