mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix error on latest paper while copying entities (#2006)
This commit is contained in:
parent
1aa213fb4c
commit
4c2119e404
@ -188,6 +188,7 @@ public final class PaperweightPlatformAdapter extends NMSAdapter {
|
|||||||
ServerLevel.class.getDeclaredMethod("getEntityLookup");
|
ServerLevel.class.getDeclaredMethod("getEntityLookup");
|
||||||
chunkRewrite = true;
|
chunkRewrite = true;
|
||||||
PAPER_CHUNK_GEN_ALL_ENTITIES = ChunkEntitySlices.class.getDeclaredMethod("getAllEntities");
|
PAPER_CHUNK_GEN_ALL_ENTITIES = ChunkEntitySlices.class.getDeclaredMethod("getAllEntities");
|
||||||
|
PAPER_CHUNK_GEN_ALL_ENTITIES.setAccessible(true);
|
||||||
} catch (NoSuchMethodException ignored) {
|
} catch (NoSuchMethodException ignored) {
|
||||||
chunkRewrite = false;
|
chunkRewrite = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user