Skip to content

Commit

Permalink
Updated to ItemMods 2.0.0-alpha.1
Browse files Browse the repository at this point in the history
Took 4 minutes
  • Loading branch information
DerFrZocker committed Nov 7, 2021
1 parent 5237da4 commit c80d96c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<version.maven-install-plugin>2.5.2</version.maven-install-plugin>
<version.non-maven1>1.0.0</version.non-maven1>
<spigot-utils.version>dev-55-SNAPSHOT</spigot-utils.version>
<ItemMods.version>2.0.0-alpha.0</ItemMods.version>
<ItemMods.version>2.0.0-alpha.1</ItemMods.version>
<Oraxen.version>5b10acaf8a</Oraxen.version>
</properties>

Expand Down

0 comments on commit c80d96c

Please sign in to comment.