mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
un-cache base plot on merge
This commit is contained in:
parent
0273a4614b
commit
c3eb44f51c
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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.
Loading…
Reference in New Issue
Block a user