mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +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) {
|
||||
Map<String, BaseFullChunk> chunks = unload.getChunks();
|
||||
Map<Long, BaseFullChunk> chunks = unload.getChunks();
|
||||
BaseFullChunk[] toUnload = chunks.values().toArray(new BaseFullChunk[chunks.size()]);
|
||||
for (BaseFullChunk chunk : toUnload) {
|
||||
chunk.unload(true, false);
|
||||
|
Loading…
Reference in New Issue
Block a user