Skip to content

Commit

Permalink
fix(forge16): finish anim
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed Oct 12, 2022
1 parent 56be3bf commit d98e43a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void open(ForgeEnvyPlayer player) {

int slot = spinSlots.get(0);

if (timer.get() >= (this.spinDuration - 5)) {
if (timer.get() == ((2 * this.spinDuration) - 5)) {
pane1.set(slot % 9, slot / 9, GuiFactory.displayable(new ItemBuilder(finalReward.getDisplayItem())
.enchant(Enchantments.UNBREAKING, 1)
.itemFlag(ItemFlag.HIDE_ENCHANTS)
Expand Down

0 comments on commit d98e43a

Please sign in to comment.