#2482: Fix error reading custom names

This commit is contained in:
md_5 2018-07-23 12:44:42 +10:00
parent a710698277
commit d2cf50f9ee

View File

@ -144,7 +144,7 @@ public abstract class EntityMap
{ {
DefinedPacket.readString( packet ); DefinedPacket.readString( packet );
} }
break; continue;
case 15: // particle case 15: // particle
int particleId = DefinedPacket.readVarInt( packet ); int particleId = DefinedPacket.readVarInt( packet );
switch ( particleId ) switch ( particleId )
@ -160,7 +160,7 @@ public abstract class EntityMap
readSkipSlot( packet, protocolVersion ); readSkipSlot( packet, protocolVersion );
break; break;
} }
break; continue;
default: default:
if ( type >= 6 ) if ( type >= 6 )
{ {