Skip to content

fix(config): update config after GSON loads fields#497

Merged
MattSturgeon merged 1 commit into
MinecraftFreecam:mainfrom
MattSturgeon:collision
May 25, 2026
Merged

fix(config): update config after GSON loads fields#497
MattSturgeon merged 1 commit into
MinecraftFreecam:mainfrom
MattSturgeon:collision

Conversation

@MattSturgeon
Copy link
Copy Markdown
Member

ModConfigDTO calls onConfigChange when constructed, but GSON sets fields after constructing the config object.

Call onConfigChange again once GSON is finished loading.

Fixes #496

ModConfigDTO calls onConfigChange when constructed,
but GSON sets fields after constructing the object.

Call onConfigChange again once GSON is finished loading.
@github-actions
Copy link
Copy Markdown
Contributor

📦 Changelog

Unreleased

Added

Changed

  • Re-rendered the project icon (439)

Removed

  • Support for Minecraft 1.21.10 (482)

Fixed

  • Marked 1.20.5 as supported by the 1.20.6 build (436, 452)
  • Collision settings not being initialized correctly (496, 497)

@MattSturgeon MattSturgeon merged commit f4bc47e into MinecraftFreecam:main May 25, 2026
16 checks passed
@MattSturgeon MattSturgeon deleted the collision branch May 25, 2026 16:54
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.

Collision settings are not initialized correctly

1 participant