mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 12:35:15 +01:00
Fix #1067
This commit is contained in:
parent
18e3a7553e
commit
1b9c92fd4a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user