fix: miscellaneous inaccuracies #330

Merged
Sainan merged 6 commits from misc-fixes into main 2024-06-20 02:48:12 -07:00
Showing only changes of commit bf0a461f77 - Show all commits

View File

@ -109,10 +109,7 @@ window.itemListPromise = new Promise(resolve => {
items.forEach(item => { items.forEach(item => {
if (item.uniqueName in data.badItems) { if (item.uniqueName in data.badItems) {
item.name += " (Imposter)"; item.name += " (Imposter)";
} else if ( } else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" &&
item.uniqueName.substr(0, 18) != "/Lotus/StoreItems/"
) {
const option = document.createElement("option"); const option = document.createElement("option");
option.setAttribute("data-key", item.uniqueName); option.setAttribute("data-key", item.uniqueName);
option.value = item.name; option.value = item.name;