You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(config.StartingInventoriesis not null&&config.StartingInventories.ContainsKey(ev.NewRole)&&!ev.ShouldPreserveInventory)
44
44
{
45
45
if(ev.Items==null)
46
46
{
@@ -126,7 +126,7 @@ public void OnPlayerHurting(HurtingEventArgs ev)
126
126
127
127
publicvoidOnEscaping(EscapingEventArgsev)
128
128
{
129
-
if(ev.Player.IsCuffed&&config.DisarmedEscapeSwitchRoleis not null&&config.DisarmedEscapeSwitchRole.TryGetValue(ev.Player.Role,outRoleTypeIdnewRole))
129
+
if(ev.Player.IsCuffed&&config.DisarmedEscapeSwitchRoleis not null&&config.DisarmedEscapeSwitchRole.TryGetValue(ev.Player.Role.Type,outRoleTypeIdnewRole))
0 commit comments