mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 09:46:53 -04:00
Merge branch 'master-MC1.7.10' into master-MC1.10
# Conflicts: # src/main/scala/li/cil/oc/common/tileentity/Adapter.scala
This commit is contained in:
commit
8e31e73b09
@ -62,8 +62,13 @@ class Adapter extends traits.Environment with traits.ComponentInventory with tra
|
||||
|
||||
// ----------------------------------------------------------------------- //
|
||||
|
||||
override def onAnalyze(player: EntityPlayer, side: EnumFacing, hitX: Float, hitY: Float, hitZ: Float) = blocks collect {
|
||||
case Some(((environment, _))) => environment.node
|
||||
override def onAnalyze(player: EntityPlayer, side: EnumFacing, hitX: Float, hitY: Float, hitZ: Float): Array[Node] = {
|
||||
(blocks collect {
|
||||
case Some((environment, _)) => environment.node
|
||||
}) ++
|
||||
(components collect {
|
||||
case Some(environment) => environment.node
|
||||
})
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------- //
|
||||
|
Loading…
x
Reference in New Issue
Block a user