File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/org/maxgamer/quickshop/shop Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -735,7 +735,7 @@ public List<ComponentPackage> getSignText(@NotNull String locale) {
735735 lines .add (new ComponentPackage (TextComponent .fromLegacyText (SHOP_SIGN_PREFIX + line2 + " " )));
736736
737737 //line 3
738- if (!this .getItem ().hasItemMeta () || !this .getItem ().getItemMeta ().hasDisplayName ()) {
738+ if (!plugin . getConfiguration (). getBoolean ( "shop.force-use-item-original-name" ) && (! this .getItem ().hasItemMeta () || !this .getItem ().getItemMeta ().hasDisplayName () )) {
739739 TextComponent left = new TextComponent (plugin .text ().of ("signs.item-left" ).forLocale ());
740740 TranslatableComponent mediumItem = new TranslatableComponent ("item." + getItem ().getType ().getKey ().getNamespace () + "." + getItem ().getType ().getKey ().getKey ());
741741 TextComponent right = new TextComponent (plugin .text ().of ("signs.item-right" ).forLocale ());
You can’t perform that action at this time.
0 commit comments