diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-07-28 21:54:12 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 13:54:12 +0200 |
| commit | ccdae8cf68308b89754d47bd6dfa1dba80a10d0b (patch) | |
| tree | 3bfa852301ed2008ff5ed068bfefe33276b8210f /src/main/kotlin/io/github | |
| parent | ca875b3cd4b0806b39cad5a9921e29bbffa0d840 (diff) | |
| download | notenoughupdates-ccdae8cf68308b89754d47bd6dfa1dba80a10d0b.tar.gz notenoughupdates-ccdae8cf68308b89754d47bd6dfa1dba80a10d0b.tar.bz2 notenoughupdates-ccdae8cf68308b89754d47bd6dfa1dba80a10d0b.zip | |
Add /neuresetslotlocking command (#1274)
Diffstat (limited to 'src/main/kotlin/io/github')
| -rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/SimpleDevCommands.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/SimpleDevCommands.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/SimpleDevCommands.kt index 5d2f156f..7c0432a7 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/SimpleDevCommands.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/SimpleDevCommands.kt @@ -26,6 +26,7 @@ import io.github.moulberry.notenoughupdates.autosubscribe.NEUAutoSubscribe import io.github.moulberry.notenoughupdates.dungeons.DungeonWin import io.github.moulberry.notenoughupdates.events.RegisterBrigadierCommandEvent import io.github.moulberry.notenoughupdates.miscfeatures.NullzeeSphere +import io.github.moulberry.notenoughupdates.miscfeatures.SlotLocking import io.github.moulberry.notenoughupdates.util.brigadier.* import net.minecraft.client.entity.EntityPlayerSP import net.minecraft.event.ClickEvent @@ -104,5 +105,11 @@ class SimpleDevCommands { } } }.withHelp("Reload the NEU data repository from network") + event.command("neuresetslotlocking") { + thenExecute { + SlotLocking.getInstance().resetSlotLocking() + reply("Reset NEU slot locking") + } + }.withHelp("Resets locked slots") } } |
