Add spawnpets perm to trustedadmin & owner

Also fix a few formatting inconsistencies that was the result from editing on mobile
This commit is contained in:
stacey 2020-06-12 19:18:44 -04:00 committed by GitHub
parent 6f4d8201dc
commit a345587bd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ namespace TShockAPI.DB
Permissions.whisper, Permissions.whisper,
Permissions.wormhole, Permissions.wormhole,
Permissions.canpaint, Permissions.canpaint,
Permissions.pylon)); Permissions.pylon));
AddDefaultGroup("vip", "default", AddDefaultGroup("vip", "default",
string.Join(",", string.Join(",",
@ -125,7 +125,7 @@ namespace TShockAPI.DB
Permissions.tppos, Permissions.tppos,
Permissions.tpsilent, Permissions.tpsilent,
Permissions.userinfo, Permissions.userinfo,
Permissions.spawn)); Permissions.spawn));
AddDefaultGroup("trustedadmin", "admin", AddDefaultGroup("trustedadmin", "admin",
string.Join(",", string.Join(",",
@ -158,7 +158,8 @@ namespace TShockAPI.DB
Permissions.startdd2, Permissions.startdd2,
Permissions.uploaddata, Permissions.uploaddata,
Permissions.uploadothersdata, Permissions.uploadothersdata,
Permissions.journey_timefreeze, Permissions.spawnpets,
Permissions.journey_timefreeze,
Permissions.journey_timeset, Permissions.journey_timeset,
Permissions.journey_timespeed, Permissions.journey_timespeed,
Permissions.journey_godmode, Permissions.journey_godmode,
@ -170,7 +171,7 @@ namespace TShockAPI.DB
Permissions.journey_setdifficulty, Permissions.journey_setdifficulty,
Permissions.journey_biomespreadfreeze, Permissions.journey_biomespreadfreeze,
Permissions.journey_setspawnrate, Permissions.journey_setspawnrate,
Permissions.journey_contributeresearch)); Permissions.journey_contributeresearch));
AddDefaultGroup("owner", "trustedadmin", AddDefaultGroup("owner", "trustedadmin",
string.Join(",", string.Join(",",