aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hype/bbsentials/client/Commands
diff options
context:
space:
mode:
authorHacktheTime <l4bg0jb7@duck.com>2023-09-26 20:11:31 +0200
committerHacktheTime <l4bg0jb7@duck.com>2023-09-26 20:11:31 +0200
commit108ef3378b84c66dad76662ffc0d5b8ec8914c51 (patch)
treeab07c66e105ac3b00af03bce2f688c027693d964 /src/main/java/de/hype/bbsentials/client/Commands
parent29f560cc2d3fcaa4e741b4db35af1ed154da9e96 (diff)
downloadBBsentials-108ef3378b84c66dad76662ffc0d5b8ec8914c51.tar.gz
BBsentials-108ef3378b84c66dad76662ffc0d5b8ec8914c51.tar.bz2
BBsentials-108ef3378b84c66dad76662ffc0d5b8ec8914c51.zip
removed DisplayMessagePacket.java due too SystemMessagePacket.java existing and being more useful
reworked the display of messages to have better colors by default. (splitted it up in a lot of different methods)
Diffstat (limited to 'src/main/java/de/hype/bbsentials/client/Commands')
-rw-r--r--src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java b/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java
index 31a283a..ade5711 100644
--- a/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java
+++ b/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java
@@ -330,7 +330,7 @@ public class CommandsOLD {
BBsentials.connection.sendPacket(new MiningEventPacket(event,
config.getUsername(), Objects.requireNonNull(BBUtils.getCurrentIsland())));
} catch (Exception e) {
- Chat.sendPrivateMessageToSelf("§c" + e.getMessage());
+ Chat.sendPrivateMessageToSelfError(e.getMessage());
}
return 1;
})