From 4b381049c32e066e35b349f46de5d8bb3405b3fd Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Wed, 21 Jun 2023 03:59:07 -0700 Subject: [PATCH] Fix/plugin datapack display (#1215) * Fix plugin and data pack project type display * plugin and data pack too --- plugins/shorthands.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/shorthands.js b/plugins/shorthands.js index e2ef88261..693e1907e 100644 --- a/plugins/shorthands.js +++ b/plugins/shorthands.js @@ -109,7 +109,13 @@ export default defineNuxtPlugin((nuxtApp) => { } else if (isMod && isPlugin) { return 'mod and plugin' } else if (isMod && isDataPack) { - return 'mod and datapack' + return 'mod and data pack' + } else if (isPlugin && isDataPack) { + return 'plugin and data pack' + } else if (isDataPack) { + return 'data pack' + } else if (isPlugin) { + return 'plugin' } }