132133134135136137138139140141142
switch(getBlockMetadata()){ case 1: legacyAddModule(new ModuleFlowDetector()); break; case 2: legacyAddModule(new ModuleSafetyValve()); break; case 3: legacyAddModule(new ModuleRegulatorTube()); break; case 4: