bump version

This commit is contained in:
hyperdefined
2023-10-22 19:46:59 -04:00
parent c3f47707c4
commit 2ace1c4f16
3 changed files with 3 additions and 4 deletions

View File

@@ -23,7 +23,7 @@
<groupId>lol.hyper</groupId> <groupId>lol.hyper</groupId>
<artifactId>toolstats</artifactId> <artifactId>toolstats</artifactId>
<version>1.7</version> <version>1.7.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ToolStats</name> <name>ToolStats</name>
@@ -117,7 +117,7 @@
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.19-R0.1-SNAPSHOT</version> <version>1.20.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@@ -36,7 +36,6 @@ import space.arim.morepaperlib.MorePaperLib;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.util.logging.Logger; import java.util.logging.Logger;
import java.util.regex.Pattern;
public final class ToolStats extends JavaPlugin { public final class ToolStats extends JavaPlugin {

View File

@@ -63,7 +63,7 @@ public class InventoryOpen implements Listener {
} }
PersistentDataContainer container = itemMeta.getPersistentDataContainer(); PersistentDataContainer container = itemMeta.getPersistentDataContainer();
// generate a hash if the item doesn't have one (if it's enabled in the config // generate a hash if the item doesn't have one (if it's enabled in the config)
if (toolStats.config.getBoolean("generate-hash-for-items")) { if (toolStats.config.getBoolean("generate-hash-for-items")) {
if (!container.has(toolStats.hash, PersistentDataType.STRING)) { if (!container.has(toolStats.hash, PersistentDataType.STRING)) {
// make sure the item has an owner // make sure the item has an owner