mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Should fix NPE on older ISoundHandlers EXA: http://minecraftforge.net/forum/index.php/topic,759.html
This commit is contained in:
1 parent
a628765419
commit
9083be320b
1 file changed
+2
-1
@@ -13,6 +13,7 @@ import net.minecraft.src.Item;
|
||||
import net.minecraft.src.ItemStack;
|
||||
import net.minecraft.src.ModLoader;
|
||||
import net.minecraft.src.RenderBlocks;
|
||||
import net.minecraft.src.World;
|
||||
import net.minecraft.src.forge.IItemRenderer.ItemRenderType;
|
||||
|
||||
public class MinecraftForgeClient
|
||||
@@ -74,7 +75,7 @@ public class MinecraftForgeClient
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (MinecraftForgeClient.class.getPackage().getName().equals("net.minecraft.src.forge"))
|
||||
if (World.class.getName().contains("World"))
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user