- Timestamp:
- Jan 27, 2023, 7:28:00 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/CommandExtensions/src/Commands/RemoveLandProtection.cs
r391 r402 50 50 GameManager.Instance.SetBlocksRPC (changes); 51 51 52 SdtdConsole.Instance.Output ("Tried to remove #" + changes.Count + 53 " land protection blocks for player \"" + _id + "\". Note " + 54 "that only blocks in chunks that are currently loaded (close to any player) could be removed. " + 55 "Please check for remaining blocks by running:"); 56 SdtdConsole.Instance.Output (" listlandprotection " + _id); 52 SdtdConsole.Instance.Output ( 53 $"Tried to remove #{changes.Count} land protection blocks for player \"{_id}\". Note that only blocks in chunks that are currently loaded (close to any player) could be removed. Please check for remaining blocks by running:"); 54 SdtdConsole.Instance.Output ($" listlandprotection {_id}"); 57 55 } catch (Exception e) { 58 Log.Out ( "Error in RemoveLandProtection.removeById: " + e);56 Log.Out ($"Error in RemoveLandProtection.removeById: {e}"); 59 57 } 60 58 } … … 87 85 GameManager.Instance.SetBlocksRPC (changes); 88 86 89 SdtdConsole.Instance.Output ( "Land protection block at (" + v + ") removed");87 SdtdConsole.Instance.Output ($"Land protection block at ({v}) removed"); 90 88 } 91 89 … … 128 126 } catch (Exception e) { 129 127 SdtdConsole.Instance.Output ("Error removing claims"); 130 Log.Out ( "Error in RemoveLandProtection.Run: " + e);128 Log.Out ($"Error in RemoveLandProtection.Run: {e}"); 131 129 } 132 130 } catch (Exception e) { 133 131 SdtdConsole.Instance.Output ("Error getting current player's position"); 134 Log.Out ( "Error in RemoveLandProtection.Run: " + e);132 Log.Out ($"Error in RemoveLandProtection.Run: {e}"); 135 133 } 136 134 } else if (_params.Count == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.