Update survival.js

This commit is contained in:
slweeb 2026-01-25 11:53:09 -05:00
parent b22af09e34
commit ead7eb3a3f
1 changed files with 3 additions and 1 deletions

View File

@ -76,7 +76,9 @@ runAfterAutogen(function(){
for (var element in elements) {
if (elements[element].category !== "tools") {
elements[element].hidden = true;
elements[element].category = "inventory";
if (!settings.survival || Object.keys(settings.survival).length < 25) {
elements[element].category = "inventory";
}
}
if (elements[element].onShiftSelect) delete elements[element].onShiftSelect;
}