Skip to content

Commit

Permalink
Fix injection error.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Jul 15, 2020
1 parent 9da27f8 commit 636081b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings=1.16.1+build.19:v2
loader_version=0.8.9+build.203

# Mod Properties
mod_version = 1.2.1
mod_version = 1.2.2
maven_group = me.lambdaurora
archives_base_name = lambdynamiclights

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public abstract class WorldMixin

@Inject(
method = "tickBlockEntities",
at = @At(value = "INVOKE", target = "Lnet/minecraft/block/entity/BlockEntity;isRemoved()Z", shift = At.Shift.BEFORE),
at = @At(value = "INVOKE", target = "Lnet/minecraft/util/Tickable;tick()V", shift = At.Shift.BEFORE),
locals = LocalCapture.CAPTURE_FAILEXCEPTION
)
private void onBlockEntityTick(CallbackInfo ci, Profiler profiler, Iterator<BlockEntity> iterator, BlockEntity blockEntity)
Expand Down

0 comments on commit 636081b

Please sign in to comment.