Skip to content

Commit 8d783aa

Browse files
committed
#3058: Remove world limit
1 parent a4e5f50 commit 8d783aa

File tree

1 file changed

+0
-3
lines changed
  • protocol/src/main/java/net/md_5/bungee/protocol/packet

1 file changed

+0
-3
lines changed

protocol/src/main/java/net/md_5/bungee/protocol/packet/Login.java

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package net.md_5.bungee.protocol.packet;
22

3-
import com.google.common.base.Preconditions;
43
import io.netty.buffer.ByteBuf;
54
import java.util.HashSet;
65
import java.util.Set;
@@ -53,8 +52,6 @@ public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protoco
5352

5453
worldNames = new HashSet<>();
5554
int worldCount = readVarInt( buf );
56-
Preconditions.checkArgument( worldCount < 128, "Too many worlds %s", worldCount );
57-
5855
for ( int i = 0; i < worldCount; i++ )
5956
{
6057
worldNames.add( readString( buf ) );

0 commit comments

Comments
 (0)