Skip to content

Commit df88812

Browse files
committed
fix: lac meta
1 parent 03caa68 commit df88812

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>net.iamtakagi</groupId>
1616
<artifactId>iroha</artifactId>
17-
<version>1.0.4</version>
17+
<version>1.0.5</version>
1818

1919
<properties>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/net/iamtakagi/iroha/InventoryUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public static ItemStack deserializeItemStack(String in) {
146146
}
147147
case "lac": {
148148
if (meta != null) {
149+
meta = (LeatherArmorMeta) item.getItemMeta();
149150
((LeatherArmorMeta) meta).setColor(Color.fromRGB(Integer.parseInt(itemAttribute[1])));
150151
break;
151152
}

0 commit comments

Comments
 (0)