Skip to content

Fix #3560: [Crash] IllegalArgumentException: Expected String in Variables#placeholders() in {killer}, got CraftVindicator: was CraftVindica#3561

Draft
kangobot[bot] wants to merge 1 commit intomasterfrom
fix/issue-3560
Draft

Fix #3560: [Crash] IllegalArgumentException: Expected String in Variables#placeholders() in {killer}, got CraftVindicator: was CraftVindica#3561
kangobot[bot] wants to merge 1 commit intomasterfrom
fix/issue-3560

Conversation

@kangobot
Copy link
Copy Markdown
Contributor

@kangobot kangobot bot commented Apr 3, 2026

Automated fix proposed by AI analysis of the linked issue.

Changes

  • main/chatcontrol-bukkit/src/main/java/org/mineacademy/chatcontrol/operator/DeathMessage.java: Add null check for getCustomName() which can return null on some server implementations even when isCustomNameVisible is true, and catch Throwable instead of just Error to also handle NPE and other runtime exceptions

This is a draft PR — human review required before merging.

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.

0 participants