From e7815ca1a629a9665a1dcb528bfa1754e1f6847b Mon Sep 17 00:00:00 2001 From: Steveplays28 Date: Sun, 1 Oct 2023 20:44:42 +0200 Subject: [PATCH] style: Rename `sendSleepingStatus` injection to match project style --- .../steveplays28/realisticsleep/mixin/ServerWorldMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/steveplays28/realisticsleep/mixin/ServerWorldMixin.java b/src/main/java/com/github/steveplays28/realisticsleep/mixin/ServerWorldMixin.java index e5db6b7..6ddd488 100644 --- a/src/main/java/com/github/steveplays28/realisticsleep/mixin/ServerWorldMixin.java +++ b/src/main/java/com/github/steveplays28/realisticsleep/mixin/ServerWorldMixin.java @@ -169,7 +169,7 @@ public void tickInject(BooleanSupplier shouldKeepTicking, CallbackInfo ci) { * @reason Method's HUD messages conflicts with my custom HUD messages */ @Inject(method = "sendSleepingStatus", at = @At(value = "HEAD"), cancellable = true) - private void sendSleepingStatus(CallbackInfo ci) { + private void sendSleepingStatusInject(CallbackInfo ci) { ci.cancel(); }