Fix dragon egg crash (#546)

This commit is contained in:
IzzelAliz 2022-04-12 11:21:22 +08:00
parent 03aa8d5f4b
commit 2cdd6c766e
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338

View File

@ -36,7 +36,7 @@ public class DragonEggBlockMixin {
private transient BlockPos arclight$toBlock;
@ModifyVariable(method = "teleport", index = 6, name = "blockpos", at = @At(value = "JUMP", opcode = Opcodes.IFEQ, ordinal = 1))
@ModifyVariable(method = "teleport", index = 6, name = "blockpos", at = @At(value = "JUMP", opcode = Opcodes.IFEQ, ordinal = 2))
public BlockPos arclight$setPos(BlockPos pos) {
return arclight$toBlock;
}