Fix compile errors, begin to make NBT serialization binary compatible with other NBT libraries
This commit is contained in:
parent
246579f9d2
commit
724f9aaa8c
4 changed files with 88 additions and 12 deletions
|
@ -19,15 +19,15 @@ namespace LibZNI.Serialization.ZNIFile
|
|||
}
|
||||
public static UUIDTag Random(string sName)
|
||||
{
|
||||
UUIDTag rnd = new UUIDTag(sName, Guid.Random());
|
||||
UUIDTag rnd = new UUIDTag(sName, Guid.NewGuid());
|
||||
|
||||
return rnd;
|
||||
}
|
||||
|
||||
public static UUIDTag Empty(string sName)
|
||||
{
|
||||
UUIDTag z = new UUIDTag(sName, Guid.Empty());
|
||||
return rnd;
|
||||
UUIDTag z = new UUIDTag(sName, Guid.Empty);
|
||||
return z;
|
||||
}
|
||||
|
||||
public UUIDTag(string _Name, Guid val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue