Better fix for #312, null checking for the chisel item in the GUI

This commit is contained in:
tterrag1098 committed 2015-05-28 13:42:07 -04:00
1 parent 47754dd9e0
commit cff54cda62
5 files changed
+11 -8

No files matched your search

@@ -1,8 +1,9 @@
package com.cricketcraft.chisel.api;
/**
* Use the enum constants (using {@link #key} or calling {@link #toString()}) in this class as keys for IMC messages sent to chisel
* <p>
* It is also acceptable to copy the Strings in this class to avoid referencing this API.
*/
public enum IMC {
@@ -56,7 +57,7 @@ public enum IMC {
*/
@Deprecated
public static final String CHISEL_MODID = "chisel";
public static final String getModid() {
return ChiselAPIProps.MOD_ID;
}