Skip to content

Commit c80d96c

Browse files
committed
Updated to ItemMods 2.0.0-alpha.1
Took 4 minutes
1 parent 5237da4 commit c80d96c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom-ore-generator/src/main/java/de/derfrzocker/custom/ore/generator/impl/customdata/ItemModsCustomData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public boolean hasCustomData(@NotNull final BlockState blockState) {
9595
public String getCustomData(@NotNull final BlockState blockState) {
9696
Validate.isTrue(hasCustomData(blockState), "The given BlockState '" + blockState.getType() + ", " + blockState.getLocation() + "' can not have the CustomData '" + getName() + "'");
9797

98-
return new CustomBlock(blockState.getLocation()).getType();
98+
return new CustomBlock(blockState.getLocation()).getPackObject().toString();
9999
}
100100

101101
@NotNull

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<version.maven-install-plugin>2.5.2</version.maven-install-plugin>
3131
<version.non-maven1>1.0.0</version.non-maven1>
3232
<spigot-utils.version>dev-55-SNAPSHOT</spigot-utils.version>
33-
<ItemMods.version>2.0.0-alpha.0</ItemMods.version>
33+
<ItemMods.version>2.0.0-alpha.1</ItemMods.version>
3434
<Oraxen.version>5b10acaf8a</Oraxen.version>
3535
</properties>
3636

0 commit comments

Comments
 (0)