public static void FixDresserChests()
{
for (int i = 0; i < Main.maxTilesX; i++)
{
for (int j = 0; j < Main.maxTilesY; j++)
{
Tile tile = Main.tile[i, j];
if ((tile.active() && (tile.type == 0x58)) && (((tile.frameX % 0x36) == 0) && ((tile.frameY % 0x24) == 0)))
{
Chest.CreateChest(i, j, -1);
}
}
}
}