mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-09-01 02:25:34 +02:00
Fix #1067
This commit is contained in:
@@ -84,7 +84,11 @@ public class PlotSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Map<UUID, Integer> getRatings() {
|
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) {
|
public boolean setMerged(int direction, boolean merged) {
|
||||||
|
Reference in New Issue
Block a user