Commit ce9b170
Don't clear gamemode addon placeholders on reload
Clearing each gamemode's placeholders wiped out custom placeholders the
gamemode addon registered itself (e.g. AOneBlock's own %aoneblock_...%
placeholders), which registerDefaultPlaceholders does not rebuild.
registerDefaultPlaceholders is already idempotent — BasicPlaceholderExpansion
uses putIfAbsent, and registerFlagPlaceholder early-returns via isPlaceholder
— so running it without pre-clearing simply adds any missing entries and
leaves existing ones alone.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4741603 commit ce9b170
1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments