1 file changed
+1
-1
@@ -15,7 +15,7 @@ public class ClientPlayerEntity_clientCommandMixin
|
|||||||
@Inject(method = "sendChatMessage", at = @At("HEAD"))
|
@Inject(method = "sendChatMessage", at = @At("HEAD"))
|
||||||
private void inspectMessage(String string, CallbackInfo ci)
|
private void inspectMessage(String string, CallbackInfo ci)
|
||||||
{
|
{
|
||||||
if (string.startsWith("/call"))
|
if (string.startsWith("/call "))
|
||||||
{
|
{
|
||||||
String command = string.substring(6);
|
String command = string.substring(6);
|
||||||
CarpetClient.sendClientCommand(command);
|
CarpetClient.sendClientCommand(command);
|
||||||
|
|||||||
Reference in new issue
Block a user