I followed a tutorial to make a multiblock stucture (Click here for link!). I modified it a little bit so the master block is in the middle-middle, instead of the middle-bottom. It instantiates the structure fine, but if i try opening the gui, It doesn't open. I tested a little bit, and i figured out that that the master block is the only block in the structure that has the hasMaster value set to true. But if i understand the tutorial correctly, it should set the value hasMaster to true of all blocks in the structure.
Relavent code for the structure:
TileEntity:
Block class: