mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
async place store
This commit is contained in:
parent
a522ab7b2f
commit
25bdcdb075
@ -1,3 +1,8 @@
|
|||||||
|
Version 2.1.227
|
||||||
|
Optimized mcMMO onChunkUnload(ChunkUnloadEvent)
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
This update should greatly improve impact on TPS from mcMMO in the ChunkUnloadEvent, thanks to M_G_P and Epicurious for testing.
|
||||||
Version 2.1.226
|
Version 2.1.226
|
||||||
Added Short_Grass to experience.yml for Herbalism
|
Added Short_Grass to experience.yml for Herbalism
|
||||||
Updated Hylian Treasures "Bushes" alias to use short_grass when playing on new Minecraft versions
|
Updated Hylian Treasures "Bushes" alias to use short_grass when playing on new Minecraft versions
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.226</version>
|
<version>2.1.227-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -64,6 +64,8 @@ public class WorldListener implements Listener {
|
|||||||
|
|
||||||
Chunk chunk = event.getChunk();
|
Chunk chunk = event.getChunk();
|
||||||
|
|
||||||
mcMMO.getPlaceStore().chunkUnloaded(chunk.getX(), chunk.getZ(), event.getWorld());
|
mcMMO.p.getFoliaLib().getImpl().runAsync(task -> {
|
||||||
|
mcMMO.getPlaceStore().chunkUnloaded(chunk.getX(), chunk.getZ(), event.getWorld());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user