mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
add Name to LogName
This commit is contained in:
parent
f2c7cacd90
commit
f81b70f6e5
@ -9,7 +9,7 @@ namespace QSB.WorldSync
|
||||
public int ObjectId { get; init; }
|
||||
public T AttachedObject { get; init; }
|
||||
public string Name => AttachedObject == null ? "<NullObject!>" : AttachedObject.name;
|
||||
public string LogName => $"{QSBPlayerManager.LocalPlayerId}.{ObjectId}:{GetType().Name}";
|
||||
public string LogName => $"{QSBPlayerManager.LocalPlayerId}.{ObjectId}:{GetType().Name} ({Name})";
|
||||
|
||||
public virtual void Init() { }
|
||||
public virtual void OnRemoval() { }
|
||||
|
Loading…
Reference in New Issue
Block a user