Skip to content

fix inventory clear#416

Merged
Cooldude2606 merged 3 commits intoexplosivegaming:mainfrom
PHIDIAS0303:patch-1
Mar 27, 2026
Merged

fix inventory clear#416
Cooldude2606 merged 3 commits intoexplosivegaming:mainfrom
PHIDIAS0303:patch-1

Conversation

@PHIDIAS0303
Copy link
Copy Markdown
Contributor

on_player_banned - player_name
on_player_kicked - player_index

the first event have player_index as optional output.
accepting player_name should be fixing the issue.

@PHIDIAS0303 PHIDIAS0303 deleted the patch-1 branch March 19, 2026 10:17
@PHIDIAS0303 PHIDIAS0303 restored the patch-1 branch March 19, 2026 14:09
@PHIDIAS0303 PHIDIAS0303 reopened this Mar 19, 2026
Copy link
Copy Markdown
Member

@Cooldude2606 Cooldude2606 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not fix the issue, the assert will still throw an error as the player is not in the game. Instead you need if not event.player_index thenr return end

@PHIDIAS0303 PHIDIAS0303 deleted the patch-1 branch March 19, 2026 18:27
@PHIDIAS0303 PHIDIAS0303 restored the patch-1 branch March 20, 2026 06:32
@PHIDIAS0303 PHIDIAS0303 reopened this Mar 20, 2026
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
@Cooldude2606 Cooldude2606 merged commit 6cbc4e5 into explosivegaming:main Mar 27, 2026
2 checks passed
@PHIDIAS0303 PHIDIAS0303 deleted the patch-1 branch March 28, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants