mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #36 - Fix incorrect use of arithmetic shift, more capes
This commit is contained in:
@ -72,8 +72,8 @@ public class ByteBufEaglercraftImpl extends AbstractByteBuf {
|
||||
|
||||
@Override
|
||||
protected void _setMedium(int index, int value) {
|
||||
internal.put(index, (byte)((value >> 16) & 0xFF));
|
||||
internal.put(index + 1, (byte)((value >> 8) & 0xFF));
|
||||
internal.put(index, (byte)((value >>> 16) & 0xFF));
|
||||
internal.put(index + 1, (byte)((value >>> 8) & 0xFF));
|
||||
internal.put(index + 2, (byte)(value & 0xFF));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user