!no need to process this when you can just put the raw number in there..

This commit is contained in:
ASangarin 2020-10-17 17:34:23 +02:00
parent f4bc755f2f
commit 3dd170bdc3

View File

@ -83,7 +83,7 @@ public abstract class EditableInventory {
String function = config.contains("function") ? config.getString("function").toLowerCase() : "";
if (function.startsWith("trigger:"))
return new TriggerItem(config, function.substring("trigger:".length()));
return new TriggerItem(config, function.substring(8));
return load(function, config);
}