Changeset 238 for binary-improvements/MapRendering/Web/API/GetLandClaims.cs
- Timestamp:
- Jul 3, 2015, 4:16:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetLandClaims.cs
r230 r238 29 29 result.Add ("claimowners", claimOwners); 30 30 31 Dictionary<Vector3i, PersistentPlayerData> d = GameManager.Instance.GetPersistentPlayerList (). positionToLPBlockOwner;31 Dictionary<Vector3i, PersistentPlayerData> d = GameManager.Instance.GetPersistentPlayerList ().m_lpBlockMap; 32 32 if (d != null) { 33 33 World w = GameManager.Instance.World; … … 45 45 if (steamid.Length == 0 || kvp.Key.PlayerId.Equals (steamid)) { 46 46 string curID = kvp.Key.PlayerId; 47 bool isActive = w. LandClaimIsActive(kvp.Key);47 bool isActive = w.IsLandProtectionValidForPlayer (kvp.Key); 48 48 49 49 JSONObject owner = new JSONObject ();
Note:
See TracChangeset
for help on using the changeset viewer.