mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2024-11-26 01:05:12 +01:00
correct field mappings for 1.20.2
This commit is contained in:
parent
aa920651d0
commit
951b30ee72
@ -30,7 +30,7 @@ public class FakeArmorStandImpl extends FakeEntityImpl<String> implements FakeAr
|
||||
|
||||
static {
|
||||
try {
|
||||
final Field dataSharedFlagsId = Entity.class.getDeclaredField("an"); // DATA_SHARED_FLAGS_ID
|
||||
final Field dataSharedFlagsId = Entity.class.getDeclaredField("ao"); // DATA_SHARED_FLAGS_ID
|
||||
dataSharedFlagsId.setAccessible(true);
|
||||
DATA_SHARED_FLAGS_ID = forceCast(dataSharedFlagsId.get(null));
|
||||
final Field dataCustomNameField = Entity.class.getDeclaredField("aU"); // DATA_CUSTOM_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user