tyrsisxl

Untitled

Sep 2nd, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. I added
  2. if (SandboxGameAssemblyWrapper.IsDebugging)
  3. {
  4. LogManager.APILog.WriteLine(ObjectBuilder.TypeId.ToString() + " (Property Set): Setting custom name to '" + value + "'");
  5. }
  6.  
  7. To the set {} when you set the CustomName property on a terminal block. You can see the issue below:
  8.  
  9. 2014-09-02 08:07:42.127 - Thread: 22 -> MyObjectBuilder_Beacon (Property Set): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:1m:3s'
  10. 2014-09-02 08:07:42.175 - Thread: 10 -> BeaconEntity (InternalSetCustomName()): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:0m:3s'
  11. 2014-09-02 08:07:47.160 - Thread: 22 -> MyObjectBuilder_Beacon (Property Set): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:0m:58s'
  12. 2014-09-02 08:07:47.194 - Thread: 10 -> BeaconEntity (InternalSetCustomName()): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:0m:3s'
  13. 2014-09-02 08:07:52.210 - Thread: 22 -> MyObjectBuilder_Beacon (Property Set): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:0m:53s'
  14. 2014-09-02 08:07:52.226 - Thread: 10 -> BeaconEntity (InternalSetCustomName()): Setting custom name to 'Shipyard status: Constructing 'BasicMiner'. Time left: 0d:0h:0m:3s'
Advertisement
Add Comment
Please, Sign In to add comment