changed version string and some conditional formatting working on adding rename item give function to impliment special tool purchases

This commit is contained in:
kai ohara 2025-02-13 21:26:34 -05:00
parent 25ff31902b
commit 30b9370ca9
8 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ plugins {
}
group = 'com.newt-tech'
version = '1.11-RELEASE'
version = '1.12-RELEASE'
repositories {
mavenCentral()

View File

@ -174,7 +174,7 @@ public class BlockShop implements Listener {
// Reset item meta (default name, no lore)
ItemMeta defaultMeta = sold.getItemMeta();
if (defaultMeta != null) {
if (clickedItem.getType() != Material.KNOWLEDGE_BOOK && defaultMeta != null) {
defaultMeta.setDisplayName(null); // Reset to default name
defaultMeta.setLore(null); // Remove lore
sold.setItemMeta(defaultMeta);