Skip to content

Commit

Permalink
make intellij happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Oct 21, 2021
1 parent 39febdd commit 6110987
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ void onRespawnProtectionCancelledDamage(DamageSource source, float amount, Callb
));
}

@SuppressWarnings("MixinAnnotationTarget")
@Inject(
method = "damage",
slice = @Slice(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ private void exitStageTileTick(CallbackInfo ci)
MicroTimingLoggerManager.setTickStage((ServerWorld)(Object)this, TickStage.UNKNOWN);
}

@SuppressWarnings("MixinAnnotationTarget")
@Inject(
method = "tick",
at = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private void onStarted(PlayerEntity player, CallbackInfo ci)
slice = @Slice(
from = @At(
value = "INVOKE",
target = "Lnet/minecraft/world/IWorld;getDifficulty()Lnet/minecraft/world/Difficulty;"
target = "Lnet/minecraft/server/world/ServerWorld;getDifficulty()Lnet/minecraft/world/Difficulty;"
)
),
at = @At(
Expand Down

0 comments on commit 6110987

Please sign in to comment.