diff options
| author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-07-26 04:23:36 +0100 | 
|---|---|---|
| committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-07-26 04:23:36 +0100 | 
| commit | 9fe3f693f1d6d015f45898818b7958b3a57a9f4a (patch) | |
| tree | 1e35a386d5ab58244e6a6e8249f947b321de5828 /src/Java/gtPlusPlus/xmod/gregtech/common | |
| parent | 5a3076e52ea188c69851e0c8711937485123dc18 (diff) | |
| download | GT5-Unofficial-9fe3f693f1d6d015f45898818b7958b3a57a9f4a.tar.gz GT5-Unofficial-9fe3f693f1d6d015f45898818b7958b3a57a9f4a.tar.bz2 GT5-Unofficial-9fe3f693f1d6d015f45898818b7958b3a57a9f4a.zip | |
+ Added config option to adjust ingame BGM delays. (Should be working)
+ Added a Pest Killer for quick removal of Butterflies and Bats.
+ Added Hydrogen Cyanide.
% Replaced existing assets for the Bat King.
% Replaced Bat King Logic, it's now an offensive mob.
$ Fixed Bat King model scaling.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
| -rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/Meta_GT_Proxy.java | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/Meta_GT_Proxy.java b/src/Java/gtPlusPlus/xmod/gregtech/common/Meta_GT_Proxy.java index 77f3a31020..61c563d7c7 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/Meta_GT_Proxy.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/Meta_GT_Proxy.java @@ -35,6 +35,7 @@ import gtPlusPlus.core.material.ELEMENT;  import gtPlusPlus.core.util.Utils;  import gtPlusPlus.core.util.minecraft.FluidUtils;  import gtPlusPlus.core.util.minecraft.MaterialUtils; +import gtPlusPlus.core.util.reflect.ReflectionUtils;  import gtPlusPlus.xmod.gregtech.api.metatileentity.BaseCustomTileEntity;  import gtPlusPlus.xmod.gregtech.api.metatileentity.custom.power.BaseCustomPower_MTE;  import net.minecraft.block.Block; @@ -94,8 +95,13 @@ public class Meta_GT_Proxy {          //Gotta set it here so that we don't try call gregtech too early.                  //Must set on the correct side -    	StaticFields59.mGT6StylePipes = (boolean) StaticFields59.getFieldFromGregtechProxy("gt6Pipe");        	 +        if (ReflectionUtils.doesFieldExist(GT_Proxy.class, "gt6Pipe")) { +        	StaticFields59.mGT6StylePipes = (boolean) StaticFields59.getFieldFromGregtechProxy("gt6Pipe");        	 +        } +        else { +        	StaticFields59.mGT6StylePipes = false;        	 +        }                 GT_Log.out.println("GT++ Mod: Registering the BaseMetaTileEntity.");          GameRegistry.registerTileEntity(tBaseMetaTileEntity.getClass(), "BaseMetaTileEntity_GTPP"); | 
