mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-01 00:10:40 +01:00
Slight tweak to not cause lag due to a inGenerated query
This commit is contained in:
parent
34060740c7
commit
18cd62dd6c
@ -39,7 +39,7 @@ public class SeedWorldMakerListener implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
|
||||
public void onChunkLoad(ChunkLoadEvent e) {
|
||||
if (!ready || !e.getChunk().isGenerated()) {
|
||||
if (!ready) {
|
||||
return;
|
||||
}
|
||||
World world = e.getWorld();
|
||||
|
Loading…
Reference in New Issue
Block a user