mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Fix crash from ExtraUtilities calling getRenderType() on server
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user