mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 12:46:05 +01:00
#3315: Further fix for offline mode support
This commit is contained in:
parent
a737a754d1
commit
8c0e4b1d33
@ -216,6 +216,12 @@ public abstract class DefinedPacket
|
||||
|
||||
public static void writeProperties(Property[] properties, ByteBuf buf)
|
||||
{
|
||||
if ( properties == null )
|
||||
{
|
||||
writeVarInt( 0, buf );
|
||||
return;
|
||||
}
|
||||
|
||||
writeVarInt( properties.length, buf );
|
||||
for ( Property prop : properties )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user