mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 06:28:51 +00:00
Merc role integration
integrated merc role into prefix system and war commands
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user