1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2024-09-19 20:15:47 +00:00

清理debug

This commit is contained in:
Ghost_chu 2022-02-20 19:46:26 +08:00
parent dd96188b22
commit 61857d6305
No known key found for this signature in database
GPG Key ID: 63BDE4EDADEA948D

View File

@ -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);
}
}