forked from Upstream/mmocore
!no need to process this when you can just put the raw number in there..
This commit is contained in:
parent
f4bc755f2f
commit
3dd170bdc3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user