UserPFP: Hide DB Change if on Standalone

This commit is contained in:
thororen1234 2025-12-05 18:59:37 -05:00
parent b524190763
commit d96f414d3e
No known key found for this signature in database

View file

@ -34,8 +34,12 @@ const settings = definePluginSettings({
description: "URL to load database from",
type: OptionType.STRING,
default: "https://userpfp.github.io/UserPFP/source/data.json",
hidden: !IS_DEV,
isValid: (value => {
if (!value) return false;
if (!value) {
value = "https://userpfp.github.io/UserPFP/source/data.json";
return false;
}
return true;
})
}