mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Set proper field access and use mappings for entities on spigot (#2282)
set proper field access and use mappings
This commit is contained in:
@ -211,7 +211,7 @@ public final class PaperweightPlatformAdapter extends NMSAdapter {
|
||||
try {
|
||||
// Non-Paper
|
||||
SERVER_LEVEL_ENTITY_MANAGER = ServerLevel.class.getDeclaredField(Refraction.pickName("entityManager", "M"));
|
||||
LEVEL_CHUNK_ENTITIES.setAccessible(true);
|
||||
SERVER_LEVEL_ENTITY_MANAGER.setAccessible(true);
|
||||
} catch (NoSuchFieldException ignored) {
|
||||
}
|
||||
POST_CHUNK_REWRITE = chunkRewrite;
|
||||
|
Reference in New Issue
Block a user