Add version field and make CheckForErrors less accessible from outside.
parent
ff9f1bd17f
commit
2d92a99e35
|
@ -24,7 +24,10 @@ namespace GarrysMod.AddonCreator
|
||||||
[JsonProperty("ignore")]
|
[JsonProperty("ignore")]
|
||||||
public List<string> Ignores { get; set; }
|
public List<string> Ignores { get; set; }
|
||||||
|
|
||||||
public void CheckForErrors()
|
[JsonProperty("version")]
|
||||||
|
public int Version { get; set; }
|
||||||
|
|
||||||
|
internal void CheckForErrors()
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(Title))
|
if (string.IsNullOrEmpty(Title))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue