diff options
author | Muramasa <haydenkilloh@gmail.com> | 2016-08-13 09:10:38 +0100 |
---|---|---|
committer | Muramasa <haydenkilloh@gmail.com> | 2016-08-13 09:10:38 +0100 |
commit | 0345ada52c4e70bd167c1decc63209c4ef79f3bc (patch) | |
tree | ebdcc1a78bc3288d8325b6eee48f41a7ddcbd39a /src/main/java/gregtech/GT_Mod.java | |
parent | 9ca24419fbec417937d4014ab7c21434ebd79366 (diff) | |
download | GT5-Unofficial-0345ada52c4e70bd167c1decc63209c4ef79f3bc.tar.gz GT5-Unofficial-0345ada52c4e70bd167c1decc63209c4ef79f3bc.tar.bz2 GT5-Unofficial-0345ada52c4e70bd167c1decc63209c4ef79f3bc.zip |
Remove null checks
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r-- | src/main/java/gregtech/GT_Mod.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java index 84ccaaed45..ecdc899d33 100644 --- a/src/main/java/gregtech/GT_Mod.java +++ b/src/main/java/gregtech/GT_Mod.java @@ -71,11 +71,11 @@ public class GT_Mod private final String aTextGeneral = "general";
private final String aTextIC2 = "ic2_";
- /*static {
+ static {
if ((509 != GregTech_API.VERSION) || (509 != GT_ModHandler.VERSION) || (509 != GT_OreDictUnificator.VERSION) || (509 != GT_Recipe.VERSION) || (509 != GT_Utility.VERSION) || (509 != GT_RecipeRegistrator.VERSION) || (509 != Element.VERSION) || (509 != Materials.VERSION) || (509 != OrePrefixes.VERSION)) {
throw new GT_ItsNotMyFaultException("One of your Mods included GregTech-API Files inside it's download, mention this to the Mod Author, who does this bad thing, and tell him/her to use reflection. I have added a Version check, to prevent Authors from breaking my Mod that way.");
}
- }*/
+ }
public GT_Mod() {
try {
|