Merge branch 'mc-1.14.x' into mc-1.15.x
This commit is contained in:
commit
ca2995ed38
|
@ -91,7 +91,7 @@ public void read( PacketBuffer buffer )
|
|||
{
|
||||
for( double[] colour : colours )
|
||||
{
|
||||
for( int i = 0; i < colour.length; i++ ) colour[i] = buffer.readByte() * 255;
|
||||
for( int i = 0; i < colour.length; i++ ) colour[i] = (buffer.readByte() & 0xFF) / 255.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue