Skip to content

Commit 3faecbb

Browse files
committed
Return LateJoin
1 parent cbc5a25 commit 3faecbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EXILED/Exiled.CustomItems/API/Features/CustomItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ protected virtual void ShowSelectedMessage(Player player)
937937

938938
private void OnInternalOwnerChangingRole(ChangingRoleEventArgs ev)
939939
{
940-
if (ev.Reason is SpawnReason.Escaped or SpawnReason.Destroyed)
940+
if (ev.Reason is SpawnReason.Escaped or SpawnReason.Destroyed or SpawnReason.LateJoin)
941941
return;
942942

943943
foreach (Item item in ev.Player.Items.ToList())

0 commit comments

Comments
 (0)