Fix ChestBlockDoubleInventoryHacks (#655)

This commit is contained in:
Yanang Pearce 2022-07-20 09:56:46 +08:00 committed by GitHub
parent d444e01b37
commit 6a513232e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ public class ChestBlockDoubleInventoryHacks {
static {
try {
cl = Class.forName("net/minecraft/world/level/block/ChestBlock$2$1");
cl = Class.forName("net.minecraft.world.level.block.ChestBlock$2$1");
Field field = cl.getDeclaredField("inventorylargechest");
offset = Unsafe.objectFieldOffset(field);
} catch (Exception e) {