From 61857d6305f2c43146e68b7ac19fa7616ad96993 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Sun, 20 Feb 2022 19:46:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cc/carm/plugin/userprefix/wrapper/ItemStackWrapper.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/cc/carm/plugin/userprefix/wrapper/ItemStackWrapper.java b/src/main/java/cc/carm/plugin/userprefix/wrapper/ItemStackWrapper.java index 5d5f2fe..6fcfd3a 100644 --- a/src/main/java/cc/carm/plugin/userprefix/wrapper/ItemStackWrapper.java +++ b/src/main/java/cc/carm/plugin/userprefix/wrapper/ItemStackWrapper.java @@ -1,6 +1,5 @@ package cc.carm.plugin.userprefix.wrapper; -import cc.carm.plugin.userprefix.Main; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.configuration.serialization.ConfigurationSerializable; @@ -36,11 +35,9 @@ public class ItemStackWrapper implements ConfigurationSerializable { if (material == null) { throw new IllegalArgumentException("物品 "+args.get("type")+" 不存在"); } - Main.getInstance().getLogger().info("Patched ItemStack with number" + Bukkit.getServer().getUnsafe().getDataVersion() + "!"); args.put("v", Bukkit.getServer().getUnsafe().getDataVersion()); } } - args.forEach((key, value) -> Main.log(key + ": " + value)); return ItemStack.deserialize(args); } }