Close #676
This commit is contained in:
parent
5dd8c03392
commit
c6a08761ab
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ public class SmeltingBonus {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ModTweaker.LATE_ADDITIONS.add(new Add(InputHelper.toObject(input), InputHelper.toStack(stack.getStack()), (int) stack.getPercent()));
|
ModTweaker.LATE_ADDITIONS.add(new Add(InputHelper.toObject(input), InputHelper.toStack(stack.getStack()), stack.getChance()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ZenMethod
|
@ZenMethod
|
||||||
|
@ -42,9 +42,9 @@ public class SmeltingBonus {
|
||||||
|
|
||||||
private ItemStack output;
|
private ItemStack output;
|
||||||
private Object input;
|
private Object input;
|
||||||
private int chance;
|
private float chance;
|
||||||
|
|
||||||
public Add(Object input, ItemStack output, int chance) {
|
public Add(Object input, ItemStack output, float chance) {
|
||||||
super("SmeltingBonus");
|
super("SmeltingBonus");
|
||||||
this.output = output;
|
this.output = output;
|
||||||
this.input = input;
|
this.input = input;
|
||||||
|
|
Loading…
Reference in a new issue