This commit is contained in:
parent
6898039c61
commit
d12c3e5769
|
@ -65,10 +65,10 @@ public class AnimalRP implements ModInitializer {
|
|||
return PlaceholderResult.value("");
|
||||
if (noChat.get(ctx.player().getUuid()) != null)
|
||||
return PlaceholderResult.value("");
|
||||
return PlaceholderResult.value("<color " + animal.color + ">"+arg+"</color>");
|
||||
return PlaceholderResult.value(animal.color);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, environment) -> {
|
||||
(new TfCommand()).Command(dispatcher, registryAccess, environment);
|
||||
(new NoChatCommand()).Command(dispatcher, registryAccess, environment);
|
||||
|
|
Loading…
Reference in a new issue