un-cache base plot on merge

This commit is contained in:
boy0001 2015-09-27 19:42:22 +10:00
parent 0273a4614b
commit c3eb44f51c
4 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>3.2.2</version>
<version>3.2.3</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -967,13 +967,13 @@ public class PS {
for (final String world : worlds) {
switch (type) {
case CREATION_DATE:
toReturn.addAll(sortPlotsByTemp(getPlotsInWorld(world)));
toReturn.addAll(sortPlotsByTemp(map.get(world)));
break;
case CREATION_DATE_TIMESTAMP:
toReturn.addAll(sortPlotsByTimestamp(getPlotsInWorld(world)));
toReturn.addAll(sortPlotsByTimestamp(map.get(world)));
break;
case DISTANCE_FROM_ORIGIN:
toReturn.addAll(sortPlotsByHash(getPlotsInWorld(world)));
toReturn.addAll(sortPlotsByHash(map.get(world)));
break;
default:
break;

View File

@ -1134,6 +1134,7 @@ public class Plot {
DBFunc.setMerged(this, merged);
MainUtil.connected_cache = null;
MainUtil.regions_cache = null;
origin = null;
}
/**
@ -1147,6 +1148,7 @@ public class Plot {
DBFunc.setMerged(this, getSettings().getMerged());
MainUtil.connected_cache = null;
MainUtil.regions_cache = null;
origin = null;
}
}

Binary file not shown.