Skip to content

Commit

Permalink
Fix forge timers in mining overlay (NotEnoughUpdates#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
Okmada authored Nov 16, 2024
1 parent 047a404 commit 117417e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void updateFrequent() {

if (containerName.equals("Commissions") && lower.getSizeInventory() >= 27) {
updateCommissions(lower);
} else if (containerName.equals("Forge") && lower.getSizeInventory() >= 36) {
} else if (containerName.equals("The Forge") && lower.getSizeInventory() >= 36) {
updateForge(lower);
}
}
Expand All @@ -100,7 +100,7 @@ private void updateForge(IInventory lower) {

itemLoop:
for (int i = 0; i < MAX_FORGE_SLOTS; i++) {
ItemStack stack = lower.getStackInSlot(i + 11);
ItemStack stack = lower.getStackInSlot(i + 10);
if (stack != null) {
String[] lore = NotEnoughUpdates.INSTANCE.manager.getLoreFromNBT(stack.getTagCompound());

Expand Down

0 comments on commit 117417e

Please sign in to comment.