Skip to content

Commit

Permalink
fix: custom key for enableGui
Browse files Browse the repository at this point in the history
  • Loading branch information
IWareQ committed Jan 13, 2025
1 parent bbabcb8 commit 948bb3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ Unless otherwise specified, any version comparison below is the comparison of se
- (API) Implemented beacon block, and several related interfaces are added to api module.
- (API) `BlockContainer#getBlockPos` and `BlockContainer#setBlockPos` now return/require `Position3ic` instead of
`Vector3ic`, this enables us to get the dimension information of a `BlockContainer`.
- (API) Implemented brewing stand, and several related interfaces & objects including `BlockEntityBrewingStand`, `BrewingStandContainer`,
`Registries#POTION_MIX_RECIPES`, `PotionMixRecipe` are added to api module. See commit history for more details.
- (API) Implemented brewing stand, and several related interfaces & objects including `BlockEntityBrewingStand`,
`BrewingStandContainer`, `Registries#POTION_MIX_RECIPES`, `PotionMixRecipe` are added to api module. See commit
history for more details.
- (API) Introduced a number of overloads of `Dimension#addSound`.
- Implemented trapdoor except redstone feature (Redstone feature requires the implementation of redstone system).
- Implemented sponge and wet sponge.
Expand All @@ -54,12 +55,13 @@ Unless otherwise specified, any version comparison below is the comparison of se
- (API) `EntityBaseComponent#getBlockStateStandingOn` now return `BlockStateWithPos` instead of `BlockState`.
- (API) Removed `BlockFace#horizontalIndex` which is useless.
- (API) Removed `ScoreboardService#ServerEventListener` as it is not supposed to be touched by plugin.
- (API) Methods `BlockEntityFurnaceBaseComponent#getStoredXP` and `BlockEntityFurnaceBaseComponent#setStoredXP` now accept
`int` instead of `float`.
- (API) Methods `BlockEntityFurnaceBaseComponent#getStoredXP` and `BlockEntityFurnaceBaseComponent#setStoredXP` now
accept `int` instead of `float`.
- Removed useless class `PackageClassLoaderUtils`, dependency `org.reflections.reflections` is also removed.
- Added `-dev` suffix to api version in development build.
- Changed `ContainerActionProcessorHolder` to a final class instead of an interface, because this abstraction is
meaningless.
- Changed `enableGui` to `enable-gui` in `server-settings.yml`

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public static class GenericSettings extends OkaeriConfig {
private boolean isWhitelisted = false;

@Comment("Whether to display the GUI")
@CustomKey("enable-gui")
private boolean enableGui = true;

@CustomKey("max-compute-thread-count")
Expand Down

0 comments on commit 948bb3a

Please sign in to comment.