Ignore:
Timestamp:
Jul 3, 2015, 4:16:11 PM (9 years ago)
Author:
alloc
Message:

Server fixes for A12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetLandClaims.cs

    r230 r238  
    2929                        result.Add ("claimowners", claimOwners);
    3030
    31                         Dictionary<Vector3i, PersistentPlayerData> d = GameManager.Instance.GetPersistentPlayerList ().positionToLPBlockOwner;
     31                        Dictionary<Vector3i, PersistentPlayerData> d = GameManager.Instance.GetPersistentPlayerList ().m_lpBlockMap;
    3232                        if (d != null) {
    3333                                World w = GameManager.Instance.World;
     
    4545                                        if (steamid.Length == 0 || kvp.Key.PlayerId.Equals (steamid)) {
    4646                                                string curID = kvp.Key.PlayerId;
    47                                                 bool isActive = w.LandClaimIsActive (kvp.Key);
     47                                                bool isActive = w.IsLandProtectionValidForPlayer (kvp.Key);
    4848
    4949                                                JSONObject owner = new JSONObject ();
Note: See TracChangeset for help on using the changeset viewer.