Fix crash from ExtraUtilities calling getRenderType() on server

This commit is contained in:
mezz committed 2015-11-08 19:40:16 -08:00
1 parent 56a9e84800
commit b7382f074a
6 files changed
+30 -20

No files matched your search

@@ -44,7 +44,7 @@ import cpw.mods.fml.relauncher.SideOnly;
import forestry.api.core.Tabs;
import forestry.apiculture.tiles.TileCandle;
import forestry.core.proxy.ProxyRenderClient;
import forestry.core.proxy.Proxies;
import forestry.core.render.TextureManager;
import forestry.core.utils.ItemStackUtil;
import forestry.core.utils.StringUtil;
@@ -110,7 +110,7 @@ public class BlockCandle extends BlockTorch {
@Override
public int getRenderType() {
return ProxyRenderClient.getCandleRenderId();
return Proxies.render.getCandleRenderId();
}
@SideOnly(Side.CLIENT)