From 91fac9f8e30f3eda52158c8d097d35f6a8ecfbed Mon Sep 17 00:00:00 2001 From: Merkalto Date: Sat, 6 Aug 2022 20:42:55 -0500 Subject: [PATCH] . --- World/MiscWorldgenRoutines.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/World/MiscWorldgenRoutines.cs b/World/MiscWorldgenRoutines.cs index fb7e7b1e92..130ec4a78b 100644 --- a/World/MiscWorldgenRoutines.cs +++ b/World/MiscWorldgenRoutines.cs @@ -26,7 +26,7 @@ namespace CalamityMod.World { progress.Message = "Adding a new Biome Chest"; - // Get dungeon size field infos. These fields are private for some reason + // Get dungeon size field infos. int MinX = (int)typeof(WorldGen).GetField("dMinX", BindingFlags.Static | BindingFlags.Public).GetValue(null) + 25; int MaxX = (int)typeof(WorldGen).GetField("dMaxX", BindingFlags.Static | BindingFlags.Public).GetValue(null) - 25; int MaxY = (int)typeof(WorldGen).GetField("dMaxY", BindingFlags.Static | BindingFlags.Public).GetValue(null) - 25;