mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 07:59:28 +00:00
Fixed NPE
This commit is contained in:
@@ -405,6 +405,7 @@ public class EcoBoss extends PluginDependent {
|
||||
// Top Damager Commands
|
||||
this.topDamagerCommands = new HashMap<>();
|
||||
for (int i = 1; i <= 3; i++) {
|
||||
this.topDamagerCommands.put(i, new ArrayList<>());
|
||||
for (String string : this.getConfig().getStrings("rewards.top-damager-commands." + i)) {
|
||||
double chance = 100;
|
||||
if (string.contains("::")) {
|
||||
|
||||
Reference in New Issue
Block a user