1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2026-06-05 00:35:02 +08:00

清理debug

This commit is contained in:
Ghost_chu
2022-02-20 19:46:26 +08:00
parent dd96188b22
commit 61857d6305
@@ -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);
}
}