tModLoader variables fixed typing/restrictions

Fixes issues introduced in #1282
This commit is contained in:
AevumDecessus 2021-08-03 02:50:56 +00:00
parent 1839dadf16
commit b915006dd1

View File

@ -3,7 +3,7 @@
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2021-08-02T22:03:34-04:00",
"exported_at": "2021-08-02T22:44:50-04:00",
"name": "tModloader",
"author": "parker@parkervcp.com",
"description": "tModLoader is essentially a mod that provides a way to load your own mods without having to work directly with Terraria's source code itself. This means you can easily make mods that are compatible with other people's mods, save yourself the trouble of having to decompile and recompile Terraria.exe, and escape from having to understand all of the obscure \"intricacies\" of Terraria's source code. It is made to work for Terraria 1.3+.",
@ -85,7 +85,7 @@
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|int|max:1"
"rules": "required|numeric|digits_between:0,1"
},
{
"name": "Server Password",
@ -112,7 +112,7 @@
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|int|max:1"
"rules": "required|numeric|digits_between:1,5"
}
]
}