geforkt von Mirrors/FastAsyncWorldEdit
Fix error on latest paper while copying entities (#2006)
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren