Skip to content

Commit

Permalink
fully remove hypixel
Browse files Browse the repository at this point in the history
  • Loading branch information
EinsLucaaa committed Jul 12, 2023
1 parent d9d59e6 commit 44cb2b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public void onChat(ChatReceiveEvent event) {
this.addon.getServerRegistry().getServers().forEach(serverConfiguration -> {
serverConfiguration.getServerAddress().forEach(serverAddress -> {


if (Laby.labyAPI().serverController().getCurrentServerData().address().getHost().contains("hypixel.net") && !this.addon.configuration().getHypixel().getOrDefault(true)) {
return;
}

if (Laby.labyAPI().serverController().getCurrentServerData().address().getHost().contains(serverAddress)) {
for (String s : serverConfiguration.getFilter()) {
if (message.contains(s)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public ServerRegistry() {
this.servers.add(new MCCIslandConfiguration());
this.servers.add(new MyPvPConfiguration());
this.servers.add(new StayMCConfiguration());
this.servers.add(new HypixelConfiguration());
}

public List<ServerConfiguration> getServers() {
Expand Down

0 comments on commit 44cb2b2

Please sign in to comment.