Skip to content

Commit a36adaf

Browse files
committed
oops, nearly forgot to remove the debug ChatUtil.infos
1 parent 3ba586f commit a36adaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/io/github/techstreet/dfscript/mixin/player/MLocalPlayer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ private void chat(String message, Text preview, CallbackInfo ci) {
2727

2828
@Inject(method = "sendCommand(Ljava/lang/String;)Z", at = @At("HEAD"), cancellable = true)
2929
private void command(String command, CallbackInfoReturnable<Boolean> ci) {
30-
ChatUtil.info("sendCommand: "+command);
3130
SendChatEvent event = new SendChatEvent("/"+command);
3231
EventManager.getInstance().dispatch(event);
3332
if (event.isCancelled()) {
@@ -37,7 +36,6 @@ private void command(String command, CallbackInfoReturnable<Boolean> ci) {
3736

3837
@Inject(method = "sendCommand(Ljava/lang/String;Lnet/minecraft/text/Text;)V", at = @At("HEAD"), cancellable = true)
3938
private void command2(String command, Text preview, CallbackInfo ci) {
40-
ChatUtil.info("sendCommandInternal: "+command);
4139
SendChatEvent event = new SendChatEvent("/"+command);
4240
EventManager.getInstance().dispatch(event);
4341
if (event.isCancelled()) {

0 commit comments

Comments
 (0)