aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/GT_Mod.java
diff options
context:
space:
mode:
authorMuramasa <haydenkilloh@gmail.com>2016-08-13 09:10:38 +0100
committerTechnus <daniel112092@gmail.com>2016-09-22 19:17:44 +0200
commit04fec51acb0f1053dfea595c04ea0862da1d4f37 (patch)
treee877274b8a2d7d4ca53e0d418268b97a41de050c /src/main/java/gregtech/GT_Mod.java
parent789199a57823442dde1f91a1764cbc7e7dedade8 (diff)
downloadGT5-Unofficial-04fec51acb0f1053dfea595c04ea0862da1d4f37.tar.gz
GT5-Unofficial-04fec51acb0f1053dfea595c04ea0862da1d4f37.tar.bz2
GT5-Unofficial-04fec51acb0f1053dfea595c04ea0862da1d4f37.zip
Remove null checks
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r--src/main/java/gregtech/GT_Mod.java4
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 576ba97658..4775792e50 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 {