diff --git a/Core/WorldGen.cs b/Core/WorldGen.cs index 092fd82..4ecc907 100644 --- a/Core/WorldGen.cs +++ b/Core/WorldGen.cs @@ -161,11 +161,12 @@ private void MMHook_WorldGen_TileFrame(On.Terraria.WorldGen.orig_TileFrame orig, { return; } + var pos = (((ulong) i) << 32) | ((uint) j); var type = Terraria.Main.tile[i, j].type; orig.Invoke(i, j, resetFrame, noBreak); if (type != Terraria.Main.tile[i, j].type && this.config.Mitigation.Value.RecursiveTileBreak.Value && !this._pendingTileFrame.Contains(pos)) { - this._pendingTileFrame.Add((((ulong) i) << 32) | ((uint) j)); + this._pendingTileFrame.Add(pos); } } } \ No newline at end of file