9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-30 20:39:18 +00:00

1.3.0-beta

This commit is contained in:
Xiao-MoMi
2023-03-06 01:24:08 +08:00
parent 319e174a69
commit a4037f96eb
12 changed files with 47 additions and 129 deletions

View File

@@ -208,7 +208,7 @@ public class LootManager extends Function {
loot.setRequirements(getRequirements(section));
}
private ActionInterface[] getActions(ConfigurationSection section, String nick) {
public ActionInterface[] getActions(ConfigurationSection section, String nick) {
List<ActionInterface> actions = new ArrayList<>();
if (section != null) {
for (String action : section.getKeys(false)) {
@@ -243,7 +243,7 @@ public class LootManager extends Function {
return actions.toArray(new ActionInterface[0]);
}
private RequirementInterface[] getRequirements(ConfigurationSection section) {
public RequirementInterface[] getRequirements(ConfigurationSection section) {
List<RequirementInterface> requirements = new ArrayList<>();
if (section != null) {
for (String type : section.getKeys(false)) {