mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +01:00
Fixes #1660
This commit is contained in:
parent
248751378b
commit
73318f23a1
@ -146,7 +146,7 @@ public final class NukkitMain extends PluginBase implements Listener, IPlotMain
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (unload != null) {
|
if (unload != null) {
|
||||||
Map<String, BaseFullChunk> chunks = unload.getChunks();
|
Map<Long, BaseFullChunk> chunks = unload.getChunks();
|
||||||
BaseFullChunk[] toUnload = chunks.values().toArray(new BaseFullChunk[chunks.size()]);
|
BaseFullChunk[] toUnload = chunks.values().toArray(new BaseFullChunk[chunks.size()]);
|
||||||
for (BaseFullChunk chunk : toUnload) {
|
for (BaseFullChunk chunk : toUnload) {
|
||||||
chunk.unload(true, false);
|
chunk.unload(true, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user