This commit is contained in:
gnembon committed 2023-02-15 20:10:24 +01:00
1 parent 86a123d2f1
commit a295f81fa9
4 files changed
+5 -5

No files matched your search

@@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(ServerStatus.class)
public class ServerStatus_motdMixin
{
@Inject(method = "getDescription", at = @At("HEAD"), cancellable = true)
@Inject(method = "description", at = @At("HEAD"), cancellable = true)
private void getDescriptionAlternative(CallbackInfoReturnable<Component> cir)
{
if (!CarpetSettings.customMOTD.equals("_"))