Fix Main.rand not being initiated with UnifiedRandom
This commit is contained in:
parent
cda07b4be5
commit
f13d8b51c6
1 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ using System.Text;
|
|||
using System.Text.RegularExpressions;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.Utilities;
|
||||
using TShockAPI.DB;
|
||||
using BCrypt.Net;
|
||||
|
||||
|
|
@ -1289,7 +1290,7 @@ namespace TShockAPI
|
|||
|
||||
public void DumpProjectiles(string path)
|
||||
{
|
||||
Main.rand = new Random();
|
||||
Main.rand = new UnifiedRandom();
|
||||
StringBuilder buffer = new StringBuilder();
|
||||
buffer.AppendLine("[block:parameters]").AppendLine("{").AppendLine(" \"data\": {");
|
||||
buffer.AppendLine(" \"h-0\": \"ID\",");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue