mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-09 06:04:59 +00:00
bump version
This commit is contained in:
@@ -36,7 +36,6 @@ import space.arim.morepaperlib.MorePaperLib;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public final class ToolStats extends JavaPlugin {
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class InventoryOpen implements Listener {
|
||||
}
|
||||
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 (!container.has(toolStats.hash, PersistentDataType.STRING)) {
|
||||
// make sure the item has an owner
|
||||
|
||||
Reference in New Issue
Block a user