Skip to content

Commit

Permalink
remove duplicate repo and add important comment
Browse files Browse the repository at this point in the history
xGinko committed Mar 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9a71de8 commit f0c4224
Showing 2 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -58,4 +58,14 @@ else if (!allowedCommands.contains(CommandUtil.getCommandLabel(text).toLowerCase
event.setCancelled(true);
}
}

/*
WrapperPlayServerDeclareCommands is currently broken. We need to wait for release > 2.2.1
@Override
public void onPacketSend(PacketSendEvent event) {
if (event.getPacketType() != PacketType.Play.Server.DECLARE_COMMANDS) return;
WrapperPlayServerDeclareCommands packet = new WrapperPlayServerDeclareCommands(event);
}
*/
}
Original file line number Diff line number Diff line change
@@ -17,12 +17,7 @@ repositories {
}

maven {
name = "packetevents-repo"
url = uri("https://repo.codemc.io/repository/maven-releases/")
}

maven {
name = "nbtapi-repo"
name = "codemc-repo"
url = uri("https://repo.codemc.io/repository/maven-public/")
}

0 comments on commit f0c4224

Please sign in to comment.