#286 Fix dedicated server crash

This commit is contained in:
tterrag1098 committed 2015-04-01 18:34:03 -04:00
1 parent 608c7d787f
commit 2e5d57cb4e
1 file changed
+2 -1
@@ -27,6 +27,7 @@ import com.cricketcraft.chisel.config.Configurations;
import com.cricketcraft.chisel.item.ItemCarvable;
import com.cricketcraft.chisel.utils.GeneralClient;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.registry.GameRegistry;
public class CarvableHelper {
@@ -97,7 +98,7 @@ public class CarvableHelper {
variation.metadata = metadata;
variation.blockName = blockName;
if (texture != null) {
if (texture != null && FMLCommonHandler.instance().getSide().isClient()) {
variation.texture = texture;
String path = variation.texture;