aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-14 22:02:59 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-14 22:02:59 +0200
commitfb08aa9689264222eeda0c0196d0554ff543ab4b (patch)
treec0acb7f008526f9edd470d1530984414c9782542 /src/main/java
parent537b92239998a4fbddae8f89cc8d71a2933dac72 (diff)
downloadNotEnoughUpdates-fb08aa9689264222eeda0c0196d0554ff543ab4b.tar.gz
NotEnoughUpdates-fb08aa9689264222eeda0c0196d0554ff543ab4b.tar.bz2
NotEnoughUpdates-fb08aa9689264222eeda0c0196d0554ff543ab4b.zip
Fixed being able to slot lock the 9th slot
also change log
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
index cd128ebe..11351857 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
@@ -310,6 +310,7 @@ public class SlotLocking {
}
public void toggleLock(int lockIndex) {
+ if(lockIndex == 8) return;
LockedSlot[] lockedSlots = getDataForProfile();
if(lockedSlots != null) {