Skip to content

Commit

Permalink
Use fully qualified target so Fabric doesn't cry during compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe Dawn committed May 6, 2019
1 parent ada88eb commit 161b12d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private DoorMixin() {
DoorHooks.usageCallback(state, world, pos, player, hand, hit, cir.getReturnValueZ());
}

@Inject(method = "neighborUpdate", at = @At(value = "INVOKE", target = "setBlockState", shift = Shift.AFTER), locals = LocalCapture.CAPTURE_FAILHARD)
@Inject(method = "neighborUpdate", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/World;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z", shift = Shift.AFTER), locals = LocalCapture.CAPTURE_FAILHARD)
private void couplings$neighborUpdated(final BlockState state, final World world, final BlockPos pos, final Block block, final BlockPos neighborPos, final boolean z, final CallbackInfo ci, final boolean isPowered) {
DoorHooks.neighborUpdateCallback(state, world, pos, block, neighborPos, isPowered);
}
Expand Down

0 comments on commit 161b12d

Please sign in to comment.