forked from xjboss/KCauldronX
Revert "Spigot's 0098-Cap-Channel-Registrations.patch (close #82)" [ci skip]
This reverts commit 5dabc4e42e
.
This commit is contained in:
parent
c6f5d766a6
commit
b9e50131e2
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user