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:
payonel 2018-11-04 12:27:08 -08:00
commit 8e31e73b09

View File

@ -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 { override def onAnalyze(player: EntityPlayer, side: EnumFacing, hitX: Float, hitY: Float, hitZ: Float): Array[Node] = {
case Some(((environment, _))) => environment.node (blocks collect {
case Some((environment, _)) => environment.node
}) ++
(components collect {
case Some(environment) => environment.node
})
} }
// ----------------------------------------------------------------------- // // ----------------------------------------------------------------------- //