Fixed part crash and got the blast furnace to work!

This commit is contained in:
modmuss50 2015-04-28 21:24:50 +01:00
parent 92cccee9e9
commit ff866d9352
2 changed files with 17 additions and 8 deletions
src/main/java/techreborn/init

View file

@ -1,5 +1,7 @@
package techreborn.init;
import cpw.mods.fml.common.Mod;
import techreborn.partSystem.IPartProvider;
import techreborn.partSystem.ModPartRegistry;
import techreborn.partSystem.block.WorldProvider;
import techreborn.partSystem.parts.CablePart;
@ -16,5 +18,10 @@ public class ModParts {
ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
"ForgeMultipart");
ModPartRegistry.addAllPartsToSystems();
for(IPartProvider provider : ModPartRegistry.providers){
if(provider.modID().equals("qmunitylib")){
ModPartRegistry.masterProvider = provider;
}
}
}
}