Fixed wrong command outputs when using /viafabricplus

This commit is contained in:
FlorianMichael 2024-01-15 00:14:24 +01:00
parent 88a1376881
commit 342604f143
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -41,7 +41,7 @@ public class ViaFabricPlusViaCommandSender implements ViaCommandSender {
@Override
public void sendMessage(String s) {
((FabricClientCommandSource) source).sendFeedback(Text.of(s));
((FabricClientCommandSource) source).sendFeedback(Text.of(s.replace("/viaversion", "/viafabricplus"))); // ViaVersion doesn't support changing the root command name, so we have to do it ourselves
}
@Override