129130131132133134135136137138139
//TODO legacy, remove after a while private void legacyHelper(){ if(getBlockMetadata() > 0) { switch(getBlockMetadata()){ case 1: legacyAddModule(new ModuleFlowDetector()); break; case 2: legacyAddModule(new ModuleSafetyValve()); break; case 3: