mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixed #3534
This commit is contained in:
parent
5d093822de
commit
217196c137
@ -42,6 +42,7 @@
|
||||
#### Fixes
|
||||
* Fixed #3445
|
||||
* Fixed #3504
|
||||
* Fixed #3534
|
||||
|
||||
## Release Candidate 31 (14 Mar 2022)
|
||||
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#31
|
||||
|
@ -142,7 +142,7 @@ public final class ChestMenuUtils {
|
||||
}
|
||||
|
||||
im.setDisplayName(" ");
|
||||
im.setLore(Arrays.asList(getProgressBar(timeLeft, time), "", ChatColor.GRAY + NumberUtils.getTimeLeft(timeLeft / 2) + " left"));
|
||||
im.setLore(Arrays.asList(getProgressBar(timeLeft, time), "", ChatColor.GRAY + NumberUtils.getTimeLeft(timeLeft / 2)));
|
||||
item.setItemMeta(im);
|
||||
|
||||
menu.replaceExistingItem(slot, item);
|
||||
|
@ -372,7 +372,11 @@ public abstract class AContainer extends SlimefunItem implements InventoryBlock,
|
||||
MachineRecipe next = findNextRecipe(inv);
|
||||
|
||||
if (next != null) {
|
||||
processor.startOperation(b, new CraftingOperation(next));
|
||||
currentOperation = new CraftingOperation(next);
|
||||
processor.startOperation(b, currentOperation);
|
||||
|
||||
// Fixes #3534 - Update indicator immediately
|
||||
processor.updateProgressBar(inv, 22, currentOperation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ import be.seeseemelk.mockbukkit.MockBukkit;
|
||||
import be.seeseemelk.mockbukkit.WorldMock;
|
||||
|
||||
class TestFireworkUtils {
|
||||
|
||||
|
||||
private static World world;
|
||||
|
||||
@BeforeAll
|
||||
|
Loading…
Reference in New Issue
Block a user