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(); }