More formatting fixes

This commit is contained in:
Camotoy 2021-03-13 18:07:43 -05:00
parent 1cdd66ae0b
commit 48aa586b21
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
7 changed files with 34 additions and 24 deletions

View file

@ -235,6 +235,7 @@ public class GeyserSpigotWorldManager extends GeyserWorldManager {
NbtMap blockEntityTag = lecternTag.build();
BlockEntityUtils.updateBlockEntity(session, blockEntityTag, Vector3i.from(x, y, z));
};
if (isChunkLoad) {
// Delay to ensure the chunk is sent first, and then the lectern data
Bukkit.getScheduler().runTaskLater(this.plugin, lecternInfoGet, 5);