1
0
mirror of https://github.com/plexusorg/Plex-FAWE.git synced 2025-04-05 08:03:13 +00:00

Fix BlockEntity#remove spigot mapping ()

Fix spigot mapping
This commit is contained in:
EpicPlayerA10 2023-06-04 15:14:50 +02:00 committed by GitHub
parent b7dc5f7ae5
commit 97d4244126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -184,7 +184,7 @@ public final class PaperweightPlatformAdapter extends NMSAdapter {
removeBlockEntityTicker.setAccessible(true);
methodremoveTickingBlockEntity = lookup.unreflect(removeBlockEntityTicker);
fieldRemove = BlockEntity.class.getDeclaredField(Refraction.pickName("remove", "p"));
fieldRemove = BlockEntity.class.getDeclaredField(Refraction.pickName("remove", "q"));
fieldRemove.setAccessible(true);
CHUNKSECTION_BASE = unsafe.arrayBaseOffset(LevelChunkSection[].class);