From f8cadb5ad1fc71ee76ce2a8e62f7c45d79f73222 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 28 Jul 2021 17:28:39 +0800 Subject: [PATCH] Fix typo --- libs/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui.js b/libs/ui.js index 36cfb9f1..b1a68833 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -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) {}