This commit is contained in:
ckcz123 2021-07-28 17:28:39 +08:00
parent a51e85825a
commit f8cadb5ad1

View File

@ -2618,7 +2618,7 @@ ui.prototype._drawToolbox_drawDescription = function (info, max_height) {
if (!info.selectId) return;
var item=core.material.items[info.selectId];
var name = item.name || "未知道具";
try { name = core.replateText(name); } catch (e) {}
try { name = core.replaceText(name); } catch (e) {}
core.fillText('ui', name, 10, 32, core.status.globalAttribute.selectColor, this._buildFont(20, true))
var text = item.text || "该道具暂无描述。";
try { text = core.replaceText(text); } catch (e) {}