File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -819,6 +819,7 @@ public void onServerStarting(FMLServerStartingEvent aEvent) {
819819 GT_OreDictUnificator .setStack (tOutput );
820820 }
821821 }
822+ GregTech_API .mServerStarted = true ;
822823 GT_Log .out .println ("GT_Mod: ServerStarting-Phase finished!" );
823824 GT_Log .ore .println ("GT_Mod: ServerStarting-Phase finished!" );
824825 for (Runnable tRunnable : GregTech_API .sAfterGTServerstart ) {
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ public class GregTech_API {
187187 public static int mEUtoRF = 360 ;
188188 public static int mRFtoEU = 20 ;
189189 public static boolean mRFExplosions = true ;
190+ public static boolean mServerStarted = false ;
190191 /**
191192 * Getting assigned by the Mod loading
192193 */
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class GT_FluidStack extends FluidStack {
2222 public GT_FluidStack (Fluid aFluid , int aAmount ) {
2323 super (aFluid , aAmount );
2424 mFluid = aFluid ;
25- sAllFluidStacks .add (this );
25+ if (! GregTech_API . mServerStarted ){ sAllFluidStacks .add (this );}
2626 }
2727
2828 public GT_FluidStack (FluidStack aFluid ) {
You can’t perform that action at this time.
0 commit comments