3
0

Revert "Spigot's 0098-Cap-Channel-Registrations.patch (close #82)" [ci skip]

This reverts commit 5dabc4e42e.
This commit is contained in:
Prototik 2015-07-01 01:50:52 +07:00
parent c6f5d766a6
commit b9e50131e2

View File

@ -1059,7 +1059,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
} }
public void addChannel(String channel) { public void addChannel(String channel) {
com.google.common.base.Preconditions.checkState( channels.size() < 128, "Too many channels registered" ); // Spigot
if (channels.add(channel)) { if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel)); server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
} }