- Timestamp:
- Jul 3, 2015, 4:16:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/AllocsCommands/Commands/RemoveLandProtection.cs
r230 r238 9 9 { 10 10 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"; 11 19 } 12 20 … … 65 73 PersistentPlayerList ppl = GameManager.Instance.GetPersistentPlayerList (); 66 74 67 Dictionary<Vector3i, PersistentPlayerData> d = ppl. positionToLPBlockOwner;75 Dictionary<Vector3i, PersistentPlayerData> d = ppl.m_lpBlockMap; 68 76 if (d == null || !d.ContainsKey (v)) { 69 77 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.