mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 11:39:14 +00:00
Better fix for #312, null checking for the chisel item in the GUI
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user