Get rid of unused field

This commit is contained in:
Alexander Söderberg 2020-05-21 20:06:37 +02:00
parent 3ede0447b0
commit 1c6075df2b
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678

View File

@ -44,10 +44,7 @@ import java.util.Set;
public class DefaultPlotAreaManager implements PlotAreaManager { public class DefaultPlotAreaManager implements PlotAreaManager {
final PlotArea[] noPlotAreas = new PlotArea[0]; final PlotArea[] noPlotAreas = new PlotArea[0];
private final Map<String, PlotWorld> plotWorlds = new HashMap<>(); private final Map<String, PlotWorld> plotWorlds = new HashMap<>();
// Optimization if there are no hash collisions
private boolean plotAreaHasCollision = false;
@Override public PlotArea[] getAllPlotAreas() { @Override public PlotArea[] getAllPlotAreas() {
final Set<PlotArea> area = new HashSet<>(); final Set<PlotArea> area = new HashSet<>();