Fix dragon egg crash (#546)
This commit is contained in:
parent
03aa8d5f4b
commit
2cdd6c766e
|
@ -36,7 +36,7 @@ public class DragonEggBlockMixin {
|
||||||
|
|
||||||
private transient BlockPos arclight$toBlock;
|
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) {
|
public BlockPos arclight$setPos(BlockPos pos) {
|
||||||
return arclight$toBlock;
|
return arclight$toBlock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user