mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Fixed an issue with trigger loading
This commit is contained in:
parent
d9dfa21592
commit
79cedee0d8
@ -82,7 +82,7 @@ public abstract class Recipe {
|
||||
try {
|
||||
Trigger trigger = MMOItems.plugin.getCrafting().getTrigger(new MMOLineConfig(format));
|
||||
Validate.notNull(trigger, "Could not match trigger");
|
||||
onUse.add(trigger);
|
||||
collection.add(trigger);
|
||||
} catch (IllegalArgumentException exception) {
|
||||
throw new IllegalArgumentException("Could not load " + triggerType + " trigger '" + format + "': " + exception.getMessage());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user