mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Fix items and blocks being registered too late on dedicated server
This commit is contained in:
1 parent
7732cebf68
commit
8775fbb9c4
3 files changed
+8
-5
No files matched your search
@@ -47,6 +47,8 @@ import com.glodblock.github.util.NameConst;
|
||||
|
||||
public class ItemAndBlockHolder {
|
||||
|
||||
public static void init() {}
|
||||
|
||||
public static BlockCertusQuartzTank CERTUS_QUARTZ_TANK = new BlockCertusQuartzTank().register();
|
||||
public static BlockFluidAutoFiller FLUID_AUTO_FILLER = new BlockFluidAutoFiller().register();
|
||||
public static BlockFluidDiscretizer DISCRETIZER = new BlockFluidDiscretizer().register();
|
||||
|
||||
@@ -29,7 +29,9 @@ public class CommonProxy {
|
||||
|
||||
public final FCNetworkWrapper netHandler = new FCNetworkWrapper(FluidCraft.MODID);
|
||||
|
||||
public void preInit(FMLPreInitializationEvent event) {}
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
ItemAndBlockHolder.init();
|
||||
}
|
||||
|
||||
public void init(FMLInitializationEvent event) {
|
||||
this.registerMovables();
|
||||
|
||||
Reference in new issue
Block a user