diff --git a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java index 9c2b0991..e820048c 100644 --- a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java @@ -24,6 +24,7 @@ import com.gamingmesh.jobs.stuff.Util; import net.Zrips.CMILib.Entities.CMIEntityType; import net.Zrips.CMILib.FileHandler.ConfigReader; import net.Zrips.CMILib.Items.CMIMaterial; +import net.Zrips.CMILib.Logs.CMIDebug; public class NameTranslatorManager { @@ -54,8 +55,12 @@ public class NameTranslatorManager { case STRIPLOGS: String matName = materialName; materialName = materialName.replace(" ", ""); + + if (materialName.contains(":")) + materialName = materialName.split(":")[0]; CMIMaterial mat = CMIMaterial.get(materialName); + NameList nameLs = listOfNames.get(mat); if (nameLs != null) { diff --git a/src/main/java/com/gamingmesh/jobs/container/JobInfo.java b/src/main/java/com/gamingmesh/jobs/container/JobInfo.java index 05460f28..4e2c639b 100644 --- a/src/main/java/com/gamingmesh/jobs/container/JobInfo.java +++ b/src/main/java/com/gamingmesh/jobs/container/JobInfo.java @@ -22,6 +22,7 @@ import com.gamingmesh.jobs.Jobs; import net.Zrips.CMILib.Colors.CMIChatColor; import net.Zrips.CMILib.Equations.Parser; +import net.Zrips.CMILib.Logs.CMIDebug; public class JobInfo { private ActionType actionType;