mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-25 23:12:53 +02: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>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>PlotSquared</artifactId>
|
<artifactId>PlotSquared</artifactId>
|
||||||
<version>3.2.2</version>
|
<version>3.2.3</version>
|
||||||
<name>PlotSquared</name>
|
<name>PlotSquared</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -967,13 +967,13 @@ public class PS {
|
||||||
for (final String world : worlds) {
|
for (final String world : worlds) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case CREATION_DATE:
|
case CREATION_DATE:
|
||||||
toReturn.addAll(sortPlotsByTemp(getPlotsInWorld(world)));
|
toReturn.addAll(sortPlotsByTemp(map.get(world)));
|
||||||
break;
|
break;
|
||||||
case CREATION_DATE_TIMESTAMP:
|
case CREATION_DATE_TIMESTAMP:
|
||||||
toReturn.addAll(sortPlotsByTimestamp(getPlotsInWorld(world)));
|
toReturn.addAll(sortPlotsByTimestamp(map.get(world)));
|
||||||
break;
|
break;
|
||||||
case DISTANCE_FROM_ORIGIN:
|
case DISTANCE_FROM_ORIGIN:
|
||||||
toReturn.addAll(sortPlotsByHash(getPlotsInWorld(world)));
|
toReturn.addAll(sortPlotsByHash(map.get(world)));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1134,6 +1134,7 @@ public class Plot {
|
||||||
DBFunc.setMerged(this, merged);
|
DBFunc.setMerged(this, merged);
|
||||||
MainUtil.connected_cache = null;
|
MainUtil.connected_cache = null;
|
||||||
MainUtil.regions_cache = null;
|
MainUtil.regions_cache = null;
|
||||||
|
origin = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1147,6 +1148,7 @@ public class Plot {
|
||||||
DBFunc.setMerged(this, getSettings().getMerged());
|
DBFunc.setMerged(this, getSettings().getMerged());
|
||||||
MainUtil.connected_cache = null;
|
MainUtil.connected_cache = null;
|
||||||
MainUtil.regions_cache = null;
|
MainUtil.regions_cache = null;
|
||||||
|
origin = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user