Skip to content

Commit

Permalink
fix: Fix incorrect expected type in Waystones config
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Dec 29, 2023
1 parent 4a1e649 commit 4744443
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Fixed crash on Forge and NeoForge due to invalid config definition

- Added ability to delete Sharestones while in creative mode (for cases where corrupt entries are leftover)
- Added durability to warp stones, removed the default cooldown from it
- Added a new warpRequirements option which replaces all existing xp cost options and allows for a lot more flexibility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static class Teleports {
public TransportMobs transportLeashed = TransportMobs.ENABLED;

@Comment("List of entities that cannot be teleported, either as pet, leashed, or on warp plates.")
@ExpectedType(String.class)
@ExpectedType(ResourceLocation.class)
public Set<ResourceLocation> entityDenyList = Set.of(new ResourceLocation("wither"));
}

Expand Down Expand Up @@ -121,11 +121,11 @@ public static class WorldGen {
public int chunksBetweenWildWaystones = 25;

@Comment("List of dimensions that wild waystones are allowed to spawn in. If left empty, all dimensions except those in wildWaystonesDimensionDenyList are used.")
@ExpectedType(String.class)
@ExpectedType(ResourceLocation.class)
public Set<ResourceLocation> wildWaystonesDimensionAllowList = Set.of(new ResourceLocation("overworld"), new ResourceLocation("the_nether"), new ResourceLocation("the_end"));

@Comment("List of dimensions that wild waystones are not allowed to spawn in. Only used if wildWaystonesDimensionAllowList is empty.")
@ExpectedType(String.class)
@ExpectedType(ResourceLocation.class)
public Set<ResourceLocation> wildWaystonesDimensionDenyList = Set.of();

@Comment("Set to 'PRESET_FIRST' to first use names from the nameGenerationPresets. Set to 'PRESET_ONLY' to use only those custom names. Set to 'MIXED' to have some waystones use custom names, and others random names.")
Expand Down

0 comments on commit 4744443

Please sign in to comment.