This commit is contained in:
Merkalto committed 2022-08-06 20:42:55 -05:00
1 parent ef8a79474c
commit 91fac9f8e3
1 file changed
+1 -1
+1 -1
View File
@@ -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;