.
This commit is contained in:
1 parent
ef8a79474c
commit
91fac9f8e3
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user