1.10 alpha

This commit is contained in:
Modbder committed 2015-02-18 18:31:30 +03:00
1 parent d5ac8090b9
commit 682fbdc9a0
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ public class ItemRegistry {
@Deprecated
public static void registerItem(Item i, Class modClass)
{
Notifier.notifyCustomMod("DummyCore", "[Warning] Mod "+Core.getModName(Core.getIdForMod(modClass))+" tries to register items in an outdated way, may cause errors!");
//Notifier.notifyCustomMod("DummyCore", "[Warning] Mod "+Core.getModName(Core.getIdForMod(modClass))+" tries to register items in an outdated way, may cause errors!");
Side s = FMLCommonHandler.instance().getEffectiveSide();
if(s == Side.CLIENT)
{
+3
View File
@@ -818,6 +818,8 @@ public class MiscUtils {
@SideOnly(Side.CLIENT)
public static void renderItemStack_Full(ItemStack stk,double posX, double posY, double posZ, double screenPosX, double screenPosY, double screenPosZ, float rotation, float rotationZ, float colorRed, float colorGreen, float colorBlue, float offsetX, float offsetY, float offsetZ)
{
if(stk != null)
{
ItemStack itemstack = stk.copy();
itemstack.stackSize = 1; //Doing this so no weird glitches occur.
final ResourceLocation RES_ITEM_GLINT = new ResourceLocation("textures/misc/enchanted_item_glint.png");
@@ -951,6 +953,7 @@ public class MiscUtils {
TextureUtil.func_147945_b();
}
itemstack = null; //Again, there is a gc for that, but removing possible leaks is never a bad thing to do...
}
}
/**