mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-10 09:47:42 +01:00
fixed an issue
This commit is contained in:
parent
be985d71c7
commit
ade7394f54
@ -70,6 +70,8 @@ public class IslandLevel {
|
||||
for (Entry<String, Long> entry : this.materials.entrySet()) {
|
||||
ConfigurationSection current = materialSection.getConfigurationSection(entry.getKey());
|
||||
|
||||
if (current == null) continue;
|
||||
|
||||
long pointsRequired = current.getLong("Points", 0);
|
||||
|
||||
if (pointsRequired != 0) pointsEarned = pointsEarned + (entry.getValue() * pointsRequired);
|
||||
|
Loading…
Reference in New Issue
Block a user