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/AllocsCommands/Commands/RemoveLandProtection.cs

    r230 r238  
    99                {
    1010                        return "removes the association of a land protection block to the owner";
     11                }
     12
     13                public override string GetHelp () {
     14                        return "Usage:" +
     15                                   "  1. removelandprotection <steamid>\n" +
     16                                   "  2. removelandprotection <x> <y> <z>\n" +
     17                                   "1. Remove all land claims owned by the user with the given SteamID\n" +
     18                                   "2. Remove only the claim block on the exactly given block position";
    1119                }
    1220
     
    6573                                PersistentPlayerList ppl = GameManager.Instance.GetPersistentPlayerList ();
    6674
    67                                 Dictionary<Vector3i, PersistentPlayerData> d = ppl.positionToLPBlockOwner;
     75                                Dictionary<Vector3i, PersistentPlayerData> d = ppl.m_lpBlockMap;
    6876                                if (d == null || !d.ContainsKey (v)) {
    6977                                        SdtdConsole.Instance.Output ("No land protection block at the given position or not a valid position. Use \"listlandprotection\" to get a list of keystones.");
Note: See TracChangeset for help on using the changeset viewer.