Ok
All checks were successful
build / build (21) (push) Successful in 1m24s

This commit is contained in:
Soph :3 2024-09-13 21:43:52 +03:00
parent 6898039c61
commit d12c3e5769
Signed by: sophie
GPG key ID: EDA5D222A0C270F2

View file

@ -65,10 +65,10 @@ public class AnimalRP implements ModInitializer {
return PlaceholderResult.value(""); return PlaceholderResult.value("");
if (noChat.get(ctx.player().getUuid()) != null) if (noChat.get(ctx.player().getUuid()) != null)
return PlaceholderResult.value(""); return PlaceholderResult.value("");
return PlaceholderResult.value("<color " + animal.color + ">"+arg+"</color>"); return PlaceholderResult.value(animal.color);
} }
}); });
CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, environment) -> { CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, environment) -> {
(new TfCommand()).Command(dispatcher, registryAccess, environment); (new TfCommand()).Command(dispatcher, registryAccess, environment);
(new NoChatCommand()).Command(dispatcher, registryAccess, environment); (new NoChatCommand()).Command(dispatcher, registryAccess, environment);