1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Update SelectionManager.java

This commit is contained in:
montlikadani 2018-08-16 17:56:11 +02:00 committed by GitHub
parent 8ffafc804b
commit 6a4455385e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,8 @@ public class SelectionManager {
public static final int MIN_HEIGHT = 0;
public SelectionManager() {
playerLoc1 = Collections.synchronizedMap(new HashMap<String, Location>());
playerLoc2 = Collections.synchronizedMap(new HashMap<String, Location>());
playerLoc1 = Collections.synchronizedMap(new HashMap<>());
playerLoc2 = Collections.synchronizedMap(new HashMap<>());
}
public void updateLocations(Player player, Location loc1, Location loc2) {