We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d4af7 commit cedce33Copy full SHA for cedce33
gui/bukkit/src/main/java/it/angrybear/yagl/contents/BukkitGUIContent.java
@@ -238,6 +238,11 @@ public BukkitGUIContent setMaterial(@NotNull Material material) {
238
return (BukkitGUIContent) BukkitItem.super.setMaterial(material);
239
}
240
241
+ @Override
242
+ public @NotNull String toString() {
243
+ return copy(ItemGUIContent.class).toString();
244
+ }
245
+
246
public static BukkitGUIContent newInstance(final @NotNull String material,
247
final @NotNull Consumer<ItemMeta> metaFunction) {
248
return new BukkitGUIContent(material, metaFunction);
0 commit comments