mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-12-01 01:23:25 +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() : "";
|
String function = config.contains("function") ? config.getString("function").toLowerCase() : "";
|
||||||
|
|
||||||
if (function.startsWith("trigger:"))
|
if (function.startsWith("trigger:"))
|
||||||
return new TriggerItem(config, function.substring("trigger:".length()));
|
return new TriggerItem(config, function.substring(8));
|
||||||
|
|
||||||
return load(function, config);
|
return load(function, config);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user