This commit is contained in:
MattBDev 2016-05-17 21:52:36 -04:00
parent 18e3a7553e
commit 1b9c92fd4a

View File

@ -84,7 +84,11 @@ public class PlotSettings {
}
public Map<UUID, Integer> getRatings() {
return this.ratings == null ? new HashMap<UUID, Integer>() : this.ratings;
if (this.ratings == null) {
this.ratings = new HashMap<>();
}
return this.ratings;
}
public boolean setMerged(int direction, boolean merged) {