Logging when clients use an item on themselves or hit someone with a melee weapon
This commit is contained in:
@@ -1869,6 +1869,8 @@ namespace Barotrauma
|
||||
|
||||
ApplyStatusEffects(ActionType.OnUse, (float)Timing.Step, c.Character);
|
||||
|
||||
GameServer.Log(c.Character.Name +" used item "+Name, Color.White);
|
||||
|
||||
GameMain.Server.CreateEntityEvent(this, new object[] { NetEntityEvent.Type.ApplyStatusEffect, c.Character.ID });
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user