mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-27 17:14:04 +00:00
feature: support paper chunk system (#1884)
* avoid usage of ticking chunk future on paper * fix entity handling * fix entity handling but on spigot * seems like no one uses spigot Co-authored-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
@@ -473,7 +473,7 @@ public final class PaperweightPlatformAdapter extends NMSAdapter {
|
||||
}
|
||||
|
||||
static List<Entity> getEntities(LevelChunk chunk) {
|
||||
return chunk.level.entityManager.getEntities(new ChunkPos(chunk.locX, chunk.locZ));
|
||||
return chunk.level.entityManager.getEntities(chunk.getPos());
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user