mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-11 15:57:31 +00:00
#286 Fix dedicated server crash
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user