Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Commit 8d9251d

Browse files
committed
fix(/refillchestmany): broken chest lookup
1 parent 4577286 commit 8d9251d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Implementation/UserInteractionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ private void RefillChestManyCommand_Exec(CommandArgs args) {
16851685

16861686
DPoint chestLocation = new DPoint(chest.x, chest.y);
16871687
Tile chestTile = TerrariaUtils.Tiles[chestLocation];
1688-
if (!chestTile.active() || chestTile.type != TileID.Containers || chestTile.type != TileID.Containers2)
1688+
if (!chestTile.active() || (chestTile.type != TileID.Containers && chestTile.type != TileID.Containers2))
16891689
continue;
16901690

16911691
if (TerrariaUtils.Tiles.GuessChestKind(chestLocation) != chestKindToSelect)

0 commit comments

Comments
 (0)