changed version string and some conditional formatting working on adding rename item give function to impliment special tool purchases
This commit is contained in:
parent
25ff31902b
commit
30b9370ca9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3,7 +3,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.newt-tech'
|
group = 'com.newt-tech'
|
||||||
version = '1.11-RELEASE'
|
version = '1.12-RELEASE'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
Binary file not shown.
@ -174,7 +174,7 @@ public class BlockShop implements Listener {
|
|||||||
|
|
||||||
// Reset item meta (default name, no lore)
|
// Reset item meta (default name, no lore)
|
||||||
ItemMeta defaultMeta = sold.getItemMeta();
|
ItemMeta defaultMeta = sold.getItemMeta();
|
||||||
if (defaultMeta != null) {
|
if (clickedItem.getType() != Material.KNOWLEDGE_BOOK && defaultMeta != null) {
|
||||||
defaultMeta.setDisplayName(null); // Reset to default name
|
defaultMeta.setDisplayName(null); // Reset to default name
|
||||||
defaultMeta.setLore(null); // Remove lore
|
defaultMeta.setLore(null); // Remove lore
|
||||||
sold.setItemMeta(defaultMeta);
|
sold.setItemMeta(defaultMeta);
|
||||||
|
Loading…
Reference in New Issue
Block a user