1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-21 14:36:56 +00:00

Merge branch 'master' into mc-1.14.x

This commit is contained in:
SquidDev 2020-05-04 10:28:15 +01:00
commit 6816931659

View File

@ -91,7 +91,7 @@ public class Palette
{
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;
}
}