Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Обновлён BypassReplacer
Browse files Browse the repository at this point in the history
Добавлен скроллбар в поле, где выводится информация о работе программы
В ошибке теперь выводится класс Exception'а для более детального отображения ошибки
В BetterCSC добавлена команда /firepayload
  • Loading branch information
Serega007RU committed Jun 2, 2024
1 parent 5986fcf commit 1fa25cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Binary file modified Injector/Injector.7z
Binary file not shown.
13 changes: 13 additions & 0 deletions src/main/java/ru/serega007/bcsc/BetterCSC.java
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,19 @@ public void load(ClientApi api) {
} else if (msg.startsWith("/sendpayload ")) {
chatSend.setCancelled(true);
api.clientConnection().sendPayload(msg.replace("/sendpayload ", ""), Unpooled.buffer());
} else if (msg.startsWith("/firepayload ")) {
chatSend.setCancelled(true);
PluginMessage.BUS.fire(new PluginMessage() {
@Override
public String getChannel() {
return msg.replace("/firepayload ", "");
}

@Override
public ByteBuf getData() {
return Unpooled.buffer();
}
});
}
}
}, 100);
Expand Down

0 comments on commit 1fa25cd

Please sign in to comment.