Skip to content

Commit a0c4bbc

Browse files
authored
fix: add base64 prefix to setResult RecipeBuilder (#37)
1 parent c644166 commit a0c4bbc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.1.0
1+
version=3.1.1

src/main/java/fr/traqueur/recipes/impl/domains/recipes/RecipeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public Recipe setResult(ItemStack result) {
9797
if(type == null) {
9898
throw new IllegalArgumentException("Recipe type is not set");
9999
}
100-
this.result = Util.fromItemStack(result);
100+
this.result = "base64:" + Util.fromItemStack(result);
101101
return this;
102102
}
103103

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.1.0
1+
version=3.1.1

0 commit comments

Comments
 (0)