mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -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"
|
||||
// (as whole Int, i.e. 0xAABBGGRR, alpha is unused but present for alignment)
|
||||
colors(index - 1) = convertColor(value)
|
||||
ServerPacketSender.sendHologramColor(this, index - 1, value)
|
||||
ServerPacketSender.sendHologramColor(this, index - 1, colors(index - 1))
|
||||
result(oldValue)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user