1.3
This commit is contained in:
parent
a9643a51b6
commit
f60b96e601
5
pom.xml
5
pom.xml
|
@ -67,5 +67,10 @@
|
|||
<version>1.12.2-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.yaohun.nbtapi</groupId>
|
||||
<artifactId>NBT-API</artifactId>
|
||||
<version>1.12.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -117,6 +117,7 @@ public class ItemStackUtil {
|
|||
}
|
||||
}
|
||||
}
|
||||
lore.set(index,newLore);
|
||||
Iterator<String> iterator = lore.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
String s = iterator.next();
|
||||
|
@ -124,7 +125,6 @@ public class ItemStackUtil {
|
|||
iterator.remove();
|
||||
}
|
||||
}
|
||||
lore.add(newLore);
|
||||
itemMeta.setLore(lore);
|
||||
itemStack.setItemMeta(itemMeta);
|
||||
return itemStack;
|
||||
|
|
Loading…
Reference in New Issue
Block a user