mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 18:55:03 -04:00
Fixed non-flipped color value being sent to clients in hologram.setPaletteColor(), leading to wrong display until reloading.
This commit is contained in:
parent
ebad9911ed
commit
d77da6698f
@ -227,7 +227,7 @@ class Hologram(var tier: Int) extends traits.Environment with SidedEnvironment w
|
|||||||
// Change byte order here to allow passing stored color to OpenGL "as-is"
|
// Change byte order here to allow passing stored color to OpenGL "as-is"
|
||||||
// (as whole Int, i.e. 0xAABBGGRR, alpha is unused but present for alignment)
|
// (as whole Int, i.e. 0xAABBGGRR, alpha is unused but present for alignment)
|
||||||
colors(index - 1) = convertColor(value)
|
colors(index - 1) = convertColor(value)
|
||||||
ServerPacketSender.sendHologramColor(this, index - 1, value)
|
ServerPacketSender.sendHologramColor(this, index - 1, colors(index - 1))
|
||||||
result(oldValue)
|
result(oldValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user