[RELEASE] 1.7.10 BETA1-Release ready. Code cleanup and inspection.

This commit is contained in:
0xSeb
2015-11-25 22:34:30 +01:00
parent 9d3ef44db7
commit dc54ca0a01
12 changed files with 47 additions and 125 deletions
@@ -13,7 +13,7 @@ public class Util {
/**
* Current Instance Client, used for a lot of operations.
*/
public static Minecraft client = FMLClientHandler.instance().getClient();
public static final Minecraft client = FMLClientHandler.instance().getClient();
/**
* Only used by isFirstInWorldTick()
*/
@@ -27,6 +27,7 @@ public class Util {
/**
* Returns the current held item stack.
*
* @return A item stack
*/
public static ItemStack getHeldStack() {
@@ -35,6 +36,7 @@ public class Util {
/**
* Returns if the current player is helding a item stack.
*
* @return True, if held stack != null
*/
public static boolean isHoldingStack() {