diff --git a/custom-ore-generator/src/main/java/de/derfrzocker/custom/ore/generator/impl/customdata/ItemModsCustomData.java b/custom-ore-generator/src/main/java/de/derfrzocker/custom/ore/generator/impl/customdata/ItemModsCustomData.java index fe660737..16717101 100644 --- a/custom-ore-generator/src/main/java/de/derfrzocker/custom/ore/generator/impl/customdata/ItemModsCustomData.java +++ b/custom-ore-generator/src/main/java/de/derfrzocker/custom/ore/generator/impl/customdata/ItemModsCustomData.java @@ -95,7 +95,7 @@ public boolean hasCustomData(@NotNull final BlockState blockState) { public String getCustomData(@NotNull final BlockState blockState) { Validate.isTrue(hasCustomData(blockState), "The given BlockState '" + blockState.getType() + ", " + blockState.getLocation() + "' can not have the CustomData '" + getName() + "'"); - return new CustomBlock(blockState.getLocation()).getType(); + return new CustomBlock(blockState.getLocation()).getPackObject().toString(); } @NotNull diff --git a/pom.xml b/pom.xml index a7dcbe4d..6605bdb7 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ 2.5.2 1.0.0 dev-55-SNAPSHOT - 2.0.0-alpha.0 + 2.0.0-alpha.1 5b10acaf8a