9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-24 17:39:30 +00:00

feat(network): 完善客户端侧物品数据处理

This commit is contained in:
jhqwqmc
2025-05-28 13:21:22 +08:00
parent 31c1e77400
commit f0e9b2fcb5

View File

@@ -197,7 +197,7 @@ public abstract class AbstractPackManager implements PackManager {
Object magicObject = magicConstructor.newInstance(p1, p2);
magicMethod.invoke(magicObject);
} catch (Exception e) {
this.plugin.logger().warn("Failed to generate zip files", e);
this.plugin.logger().warn("Failed to generate zip files\n" + new StringWriter(){{e.printStackTrace(new PrintWriter(this));}}.toString().replaceAll("\\.[Il]{2,}", ""));
}
};
} else {