diff --git a/Implementation/UserInteractionHandler.cs b/Implementation/UserInteractionHandler.cs index 8c37bb8..4a196f1 100644 --- a/Implementation/UserInteractionHandler.cs +++ b/Implementation/UserInteractionHandler.cs @@ -1685,7 +1685,7 @@ private void RefillChestManyCommand_Exec(CommandArgs args) { DPoint chestLocation = new DPoint(chest.x, chest.y); Tile chestTile = TerrariaUtils.Tiles[chestLocation]; - if (!chestTile.active() || chestTile.type != TileID.Containers || chestTile.type != TileID.Containers2) + if (!chestTile.active() || (chestTile.type != TileID.Containers && chestTile.type != TileID.Containers2)) continue; if (TerrariaUtils.Tiles.GuessChestKind(chestLocation) != chestKindToSelect)