Bug Fixing

This commit is contained in:
Ka0rX 2023-03-30 21:47:07 +01:00
parent b6ef6cd4de
commit 13b8b86b7b
2 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ public class SkillBuffTrigger extends Trigger implements Removable {
public SkillBuffTrigger(MMOLineConfig config) { public SkillBuffTrigger(MMOLineConfig config) {
super(config); super(config);
config.validateKeys("skill-modifier"); config.validateKeys("modifier");
config.validateKeys("amount"); config.validateKeys("amount");
config.validateKeys("formula"); config.validateKeys("formula");
config.validateKeys("type"); config.validateKeys("type");
amount = config.getDouble("amount"); amount = config.getDouble("amount");
String skillModifier = config.getString("skill-modifier"); String skillModifier = config.getString("modifier");
String formula = config.getString("formula"); String formula = config.getString("formula");
List<String> targetSkills = new ArrayList<>(); List<String> targetSkills = new ArrayList<>();
for (RegisteredSkill skill : MMOCore.plugin.skillManager.getAll()) { for (RegisteredSkill skill : MMOCore.plugin.skillManager.getAll()) {

View File

@ -75,7 +75,7 @@
<dependency> <dependency>
<groupId>io.lumine</groupId> <groupId>io.lumine</groupId>
<artifactId>MythicLib-dist</artifactId> <artifactId>MythicLib-dist</artifactId>
<version>1.5.1-SNAPSHOT</version> <version>1.5.2-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>