File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
src/main/java/org/maxgamer/quickshop Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 694694 <artifactId >paperlib</artifactId >
695695 <groupId >io.papermc</groupId >
696696 </exclusion >
697+ <exclusion >
698+ <artifactId >particleeffect</artifactId >
699+ <groupId >com.darkblade12</groupId >
700+ </exclusion >
697701 </exclusions >
698702 </dependency >
699703 <dependency >
Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ public List<ComponentPackage> getSignText(@NotNull String locale) {
748748 lines .add (new ComponentPackage (new ComponentBuilder ()
749749 .color (ChatColor .RESET )
750750 .append (left )
751- .appendLegacy ( Util .getItemStackName (getItem ()))
751+ .append ( TextComponent . fromLegacyText ( Util .getItemStackName (getItem () )))
752752 .append (right )
753753 .create ()));
754754 } else {
@@ -762,7 +762,7 @@ public List<ComponentPackage> getSignText(@NotNull String locale) {
762762 }
763763 } else {
764764 lines .add (new ComponentPackage (new ComponentBuilder ().color (ChatColor .RESET ).appendLegacy (plugin .text ().of ("signs.item-left" ).forLocale ())
765- .append (Util .getItemStackName (getItem ()))
765+ .append (TextComponent . fromLegacyText ( Util .getItemStackName (getItem () )))
766766 .appendLegacy (plugin .text ().of ("signs.item-right" ).forLocale ()).create ()));
767767 }
768768
Original file line number Diff line number Diff line change @@ -1110,6 +1110,7 @@ public static Material getSignMaterial() {
11101110 * @return Json
11111111 */
11121112 public static String componentsToJson (BaseComponent [] components ) {
1113+ plugin .getLogger ().info (ComponentSerializer .toString (components ));
11131114 return ComponentSerializer .toString (components );
11141115 }
11151116
You can’t perform that action at this time.
0 commit comments