Adventure changes for Java 17 and Component support for resourcepack prompt

This commit is contained in:
Riley Park
2021-12-21 23:07:17 -08:00
parent 7c67368f7f
commit 0df83e38b7
4 changed files with 254 additions and 128 deletions

View File

@@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public CraftPlayer(CraftServer server, ServerPlayer entity) {
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
// Paper end
public void addChannel(String channel) {
- Preconditions.checkState(this.channels.size() < 128, "Cannot register channel '%s'. Too many channels registered!", channel);