diff --git a/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java b/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java index 21838a61..c4ecbc42 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java @@ -39,14 +39,14 @@ public class FurnaceBrewingHandling { int totalf = 0; int totalb = 0; - if (Jobs.getGCManager().isFurnacesReassign()) + if (Jobs.getGCManager().isFurnacesReassign()) { if (config.contains("Furnace")) { ConfigurationSection section = config.getConfigurationSection("Furnace"); try { for (String one : section.getKeys(false)) { String value = section.getString(one); - List ls = new ArrayList(); + List ls = new ArrayList<>(); if (value.contains(";")) ls.addAll(Arrays.asList(value.split(";"))); else @@ -55,7 +55,7 @@ public class FurnaceBrewingHandling { if (uuid == null) continue; - List blist = new ArrayList(); + List blist = new ArrayList<>(); for (String oneL : ls) { blockLoc bl = new blockLoc(oneL); Block block = bl.getBlock(); @@ -76,6 +76,7 @@ public class FurnaceBrewingHandling { e.printStackTrace(); } } + } if (Jobs.getGCManager().isBrewingStandsReassign()) if (config.contains("Brewing")) { @@ -84,7 +85,7 @@ public class FurnaceBrewingHandling { try { for (String one : section.getKeys(false)) { String value = section.getString(one); - List ls = new ArrayList(); + List ls = new ArrayList<>(); if (value.contains(";")) ls.addAll(Arrays.asList(value.split(";"))); else