Fixed generic issue for TMultipartNode

This commit is contained in:
Robert S 2014-11-04 22:27:44 -05:00
parent fedda73826
commit f02468edc4

View file

@ -3,14 +3,13 @@ package resonantinduction.core.prefab.node
import codechicken.multipart.TMultiPart
import net.minecraft.tileentity.TileEntity
import net.minecraft.world.World
import resonant.api.grid.INodeProvider
import resonant.lib.grid.node.NodeConnector
/**
* A trait that allows nodes to works with Forge Multipart. This trait MUST be mixed in.
* @author Calclavia
*/
trait TMultipartNode[A] extends NodeConnector[A]
trait TMultipartNode[A <: AnyRef] extends NodeConnector[A]
{
override def world: World =
{