From 1b9c92fd4a134fc8756ee279e606ebd4044aecb0 Mon Sep 17 00:00:00 2001 From: MattBDev Date: Tue, 17 May 2016 21:52:36 -0400 Subject: [PATCH] Fix #1067 --- .../com/intellectualcrafters/plot/object/PlotSettings.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/PlotSettings.java b/Core/src/main/java/com/intellectualcrafters/plot/object/PlotSettings.java index dd6aad414..82ca91947 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/PlotSettings.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/PlotSettings.java @@ -84,7 +84,11 @@ public class PlotSettings { } public Map getRatings() { - return this.ratings == null ? new HashMap() : this.ratings; + if (this.ratings == null) { + this.ratings = new HashMap<>(); + + } + return this.ratings; } public boolean setMerged(int direction, boolean merged) {