[FEAT] Added Compat API for Advanced Chat

This commit is contained in:
2025-04-28 14:07:53 +02:00
parent 4a0314462e
commit 8bb17f3c4c
8 changed files with 50 additions and 1 deletions

View File

@@ -42,4 +42,14 @@ public class ForgeCompatHelper implements CompatUtils {
IBleeding bleeding = PlayerReviveServer.getBleeding(player.toMojangServerPlayer());
return bleeding != null && bleeding.revived();
}
@Override
public boolean isPrivateMessage(BridgedPlayer player) {
return false;
}
@Override
public Component getChannelPrefix(BridgedPlayer player) {
return Component.empty();
}
}