aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-06-20 01:49:05 +1000
committerGitHub <noreply@github.com>2024-06-19 17:49:05 +0200
commit2a3536bfb4e6c09287c2e2239c5a3b86aefd630d (patch)
tree899140d616f9f9f671b780474bfb349eb26f85a6 /src/main/java/io/github/moulberry/notenoughupdates/options
parentfe73a61246bf4ef1cdeccfec100ba4d8376ee8ea (diff)
downloadnotenoughupdates-2a3536bfb4e6c09287c2e2239c5a3b86aefd630d.tar.gz
notenoughupdates-2a3536bfb4e6c09287c2e2239c5a3b86aefd630d.tar.bz2
notenoughupdates-2a3536bfb4e6c09287c2e2239c5a3b86aefd630d.zip
Add toggle to disable slot locking in storage (#1199)
Co-authored-by: jani270 <69345714+jani270@users.noreply.github.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/SlotLocking.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/SlotLocking.java b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/SlotLocking.java
index 45422347..e373747f 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/SlotLocking.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/SlotLocking.java
@@ -78,6 +78,14 @@ public class SlotLocking {
public boolean lockSlotsInTrade = true;
@Expose
+ @ConfigOption(
+ name = "Disable Locking in Storage",
+ desc = "Disables slot locking and binding in the storage gui"
+ )
+ @ConfigEditorBoolean
+ public boolean disableInStorage = false;
+
+ @Expose
/*@ConfigOption(
name = "Item Swap drop delay",
desc = "Set the delay between swapping to another item and being able to drop it.\n"+