Some improvements to render speed of cables

This commit is contained in:
modmuss50 2015-06-25 20:10:03 +01:00
parent 7c56cd25f6
commit 37467cab7e
5 changed files with 21 additions and 19 deletions

View file

@ -18,13 +18,12 @@ public class ModParts {
CablePart part = new CablePart(i);
ModPartRegistry.registerPart(part);
}
ModPartRegistry.addProvider(
"techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
//ModPartRegistry.addProvider("techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
"ForgeMultipart");
ModPartRegistry.addAllPartsToSystems();
for(IPartProvider provider : ModPartRegistry.providers){
if(provider.modID().equals("qmunitylib")){
if(provider.modID().equals("ForgeMultipart")){
ModPartRegistry.masterProvider = provider;
}
}