diff --git a/backend/routes/admin.js b/backend/routes/admin.js index 2c1462d..07baebe 100644 --- a/backend/routes/admin.js +++ b/backend/routes/admin.js @@ -812,6 +812,9 @@ router.post("/modtranslations", requireAdmin, async (req, res) => { if (keyModId !== modId) continue; // 다른 모드 키는 무시 + // 이름에 .이 포함된 경우 스킵 (예: copper_backtank.tooltip.behaviour) + if (name.includes(".")) continue; + if (type === "block") { await pool.query( `INSERT INTO blocks (name, name_ko, mod_id) VALUES (?, ?, ?) diff --git a/frontend/src/pages/Admin.jsx b/frontend/src/pages/Admin.jsx index 2a0beef..0943f75 100644 --- a/frontend/src/pages/Admin.jsx +++ b/frontend/src/pages/Admin.jsx @@ -1847,11 +1847,6 @@ export default function Admin({ isMobile = false }) {
{modpack.name}