Expose module item

This commit is contained in:
PikaMug 2021-10-10 01:42:21 -04:00
parent 0621ccd1e1
commit 523da1cf19
3 changed files with 18 additions and 0 deletions

View File

@ -45,6 +45,12 @@ public abstract class CustomObjective implements Listener {
.replace(".jar", "");
}
public Map<String, Short> getModuleItem() {
final Map<String, Short> moduleItems = new HashMap<>();
moduleItems.put("IRON_INGOT", (short) 0);
return moduleItems;
}
public String getName() {
return name;
}

View File

@ -34,6 +34,12 @@ public abstract class CustomRequirement {
.replace(".jar", "");
}
public Map<String, Short> getModuleItem() {
final Map<String, Short> moduleItems = new HashMap<>();
moduleItems.put("IRON_INGOT", (short) 0);
return moduleItems;
}
public String getName() {
return name;
}

View File

@ -34,6 +34,12 @@ public abstract class CustomReward {
.replace(".jar", "");
}
public Map<String, Short> getModuleItem() {
final Map<String, Short> moduleItems = new HashMap<>();
moduleItems.put("IRON_INGOT", (short) 0);
return moduleItems;
}
public String getName() {
return name;
}