Fix ChestBlockDoubleInventoryHacks (#655)
This commit is contained in:
parent
d444e01b37
commit
6a513232e5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user