diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 6d4b09b6..5e4a5556 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -220,6 +220,10 @@ namespace TShockAPI { Main.rand = new Random(); } + if (WorldGen.genRand == null) + { + WorldGen.genRand = new Random(); + } if (text.StartsWith("exit")) {