Merc role integration

integrated merc role into prefix system and war commands
This commit is contained in:
Sean committed 2022-08-12 20:26:03 -04:00
1 parent 0b9784cf7b
commit 80f49c3c07
8 files changed
+123 -32

No files matched your search

@@ -48,7 +48,7 @@ public class RolesData {
try {
inputStream = new FileInputStream(userFile);
} catch (FileNotFoundException e) {
Bukkit.getLogger().warning("[AlathraExtras] Encountered error when creating FileInputStream for " + strID);
Bukkit.getLogger().warning("[AlathraWar] Encountered error when creating FileInputStream for " + strID);
}
Yaml yaml = new Yaml();
Map<String, Object> data = yaml.load(inputStream);
@@ -65,7 +65,7 @@ public class RolesData {
try {
writer = new PrintWriter(userFile);
} catch (FileNotFoundException e) {
Bukkit.getLogger().warning("[AlathraExtras] Encountered error when creating PrintWriter for " + strID);
Bukkit.getLogger().warning("[AlathraWar] Encountered error when creating PrintWriter for " + strID);
}
DumperOptions options = new DumperOptions();