mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -04:00
Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers
This commit is contained in:
commit
18eb77080d
@ -9,7 +9,7 @@ object Sound {
|
||||
val lastPlayed = mutable.WeakHashMap.empty[Container, Long]
|
||||
|
||||
def play(container: Container, name: String) {
|
||||
container.world.playSoundEffect(container.xPosition, container.yPosition, container.zPosition, Settings.resourceDomain + ":" + name, 1, 1)
|
||||
container.world.playSoundEffect(container.xPosition, container.yPosition, container.zPosition, Settings.resourceDomain + ":" + name, Settings.get.soundVolume, 1)
|
||||
}
|
||||
|
||||
def playDiskInsert(container: Container) {
|
||||
|
@ -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