mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-20 23:31:36 +01:00
Expose module item
This commit is contained in:
parent
0621ccd1e1
commit
523da1cf19
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user