if ( thisSide != qe && thisSide != -qe )
{
if ( qe != 0 )
{
if ( thisSide != 0 )
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Unregister ) );
if ( canUseNode( -qe ) )
{
otherSide = qe;
thisSide = -qe;
}
else if ( canUseNode( qe ) )
{
thisSide = qe;
otherSide = -qe;
}
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Register ) );
}
else
{
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Unregister ) );
otherSide = 0;
thisSide = 0;
}
}