feat(bridge): a zone's ZoneManager options, its messages, and a ZoneDomes dome (PLAN_REDESIGNS §3) #21
@@ -8411,7 +8411,9 @@ namespace Oxide.Plugins
|
||||
}
|
||||
|
||||
Newtonsoft.Json.Linq.JToken t = d["type"], s = d["stack"];
|
||||
domeType = t != null && t.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)t : -1;
|
||||
// No type is Standard, the one full dome; the colours show only where they meet
|
||||
// the ground (D212).
|
||||
domeType = t == null ? 0 : t.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)t : -1;
|
||||
domeStack = s == null ? 1 : s.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)s : -1;
|
||||
|
||||
if (domeType < 0 || domeType > DomeTypeMax || domeStack < 1 || domeStack > DomeStackMax)
|
||||
|
||||
Reference in New Issue
Block a user