mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-12-30 05:57:41 +01:00
!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