mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 20:12:12 +00:00
Fix toCommandString output
Update MCItemStack's toString function to output the stack size in addition to the ID and NBT data
This commit is contained in:
1 parent
e5b27c19b7
commit
f11531fc5c
3 files changed
+9
-8
No files matched your search
@@ -20,6 +20,6 @@ public class BrewingRecipe implements IBrewingRecipe {
|
||||
|
||||
@Override
|
||||
public String toCommandString() {
|
||||
return String.format("brewing.add(%s, %s, %s", output, input, ingredient);
|
||||
return String.format("brewing.add(%s, %s, %s)", output, input, ingredient);
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ public class FurnaceRecipe implements IFurnaceRecipe {
|
||||
|
||||
@Override
|
||||
public String toCommandString() {
|
||||
return String.format("furnace.addRecipe(%s, %s, %s", output, input, xp);
|
||||
return String.format("furnace.addRecipe(%s, %s, %s)", output, input, xp);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user