23w07a
This commit is contained in:
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("_"))
|
||||
|
||||
Reference in new issue
Block a user