diff --git a/CHANGELOG.md b/CHANGELOG.md index 9921d05..c190822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# You're in Grave Danger 2.4.8 + +### Fixes +* Graves can now generate below y=0 (if blocks can exist there) when `generateGraveInVoid` +config is set to `false` + +--- + # You're in Grave Danger 2.4.7 ### Fixes diff --git a/gradle.properties b/gradle.properties index 16cfcdb..015892a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.parallel=true loader_version=0.15.11 # Mod Properties - mod_version = 2.4.7 + mod_version = 2.4.8 maven_group = com.b1n_ry.yigd archives_base_name = youre-in-grave-danger-fabric diff --git a/src/main/java/com/b1n_ry/yigd/events/YigdServerEventHandler.java b/src/main/java/com/b1n_ry/yigd/events/YigdServerEventHandler.java index 39cf9cc..7cc2065 100644 --- a/src/main/java/com/b1n_ry/yigd/events/YigdServerEventHandler.java +++ b/src/main/java/com/b1n_ry/yigd/events/YigdServerEventHandler.java @@ -195,7 +195,7 @@ public static void registerEventCallbacks() { if (graveConfig.dimensionBlacklist.contains(grave.getWorldRegistryKey().getValue().toString())) return false; - if (!graveConfig.generateGraveInVoid && grave.getPos().getY() < 0) return false; + if (!graveConfig.generateGraveInVoid && grave.getPos().getY() < context.world().getBottomY()) return false; if (graveConfig.requireItem) { Item item = Registries.ITEM.get(Identifier.of(graveConfig.requiredItem));