Skip to content

Commit 48afff5

Browse files
committed
Minor fixes
1 parent 890b6ac commit 48afff5

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.idea/workspace.xml

+12-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.teraprath.tinylib</groupId>
66
<artifactId>TinyLib</artifactId>
7-
<version>2.2.4</version>
7+
<version>2.2.5</version>
88

99
<name>TinyLib</name>
1010

src/main/java/com/github/teraprath/tinylib/item/ItemBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public ItemBuilder setType(@Nonnull Material material) {
7878
* @return The current ItemBuilder instance for chaining.
7979
*/
8080
public ItemBuilder setName(@Nonnull Component component) {
81-
this.meta.displayName(component);
81+
this.meta.displayName(component.decoration(TextDecoration.ITALIC, false));
8282
return this;
8383
}
8484

0 commit comments

Comments
 (0)