From 6a4455385eb27d7e1699700184ce1e3cbfd27509 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 17:56:11 +0200 Subject: [PATCH] Update SelectionManager.java --- .../java/com/gamingmesh/jobs/selection/SelectionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/selection/SelectionManager.java b/src/main/java/com/gamingmesh/jobs/selection/SelectionManager.java index ad83f9b7..7b3c327b 100644 --- a/src/main/java/com/gamingmesh/jobs/selection/SelectionManager.java +++ b/src/main/java/com/gamingmesh/jobs/selection/SelectionManager.java @@ -14,8 +14,8 @@ public class SelectionManager { public static final int MIN_HEIGHT = 0; public SelectionManager() { - playerLoc1 = Collections.synchronizedMap(new HashMap()); - playerLoc2 = Collections.synchronizedMap(new HashMap()); + playerLoc1 = Collections.synchronizedMap(new HashMap<>()); + playerLoc2 = Collections.synchronizedMap(new HashMap<>()); } public void updateLocations(Player player, Location loc1, Location loc2) {