From b9e50131e2d7d637f8ecb4cc73463786bf6110db Mon Sep 17 00:00:00 2001 From: Prototik Date: Wed, 1 Jul 2015 01:50:52 +0700 Subject: [PATCH] Revert "Spigot's 0098-Cap-Channel-Registrations.patch (close #82)" [ci skip] This reverts commit 5dabc4e42ebf6f94db8fd1e340b92709bb6ea2ca. --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index dc6d2b6..5b3e16a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -1059,7 +1059,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } public void addChannel(String channel) { - com.google.common.base.Preconditions.checkState( channels.size() < 128, "Too many channels registered" ); // Spigot if (channels.add(channel)) { server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel)); }