package techreborn.compat.opencomputers;

import li.cil.oc.api.Driver;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import techreborn.compat.ICompatModule;

public class CompatOpenComputers implements ICompatModule {
	@Override
	public void preInit(FMLPreInitializationEvent event) {

	}

	@Override
	public void init(FMLInitializationEvent event) {
		Driver.add(new DriverMachine());
	}

	@Override
	public void postInit(FMLPostInitializationEvent event) {

	}

	@Override
	public void serverStarting(FMLServerStartingEvent event) {

	}
}

package techreborn.compat.opencomputers;

import li.cil.oc.api.Driver;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import techreborn.compat.ICompatModule;

public class CompatOpenComputers implements ICompatModule {
	@Override
	public void preInit(FMLPreInitializationEvent event) {

	}

	@Override
	public void init(FMLInitializationEvent event) {

	}

	@Override
	public void postInit(FMLPostInitializationEvent event) {
		Driver.add(new DriverMachine());
	}

	@Override
	public void serverStarting(FMLServerStartingEvent event) {

	}
}

--- 
+++ 
@@ -15,12 +15,12 @@
 
 	@Override
 	public void init(FMLInitializationEvent event) {
-
+		Driver.add(new DriverMachine());
 	}
 
 	@Override
 	public void postInit(FMLPostInitializationEvent event) {
-		Driver.add(new DriverMachine());
+
 	}
 
 	@Override
Fix crash with OC compat
