mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-29 11:59:11 +00:00
feat(core): 优化 S3 托管
This commit is contained in:
@@ -79,6 +79,7 @@ public class S3Host implements ResourcePackHost {
|
||||
if (exception != null) {
|
||||
Throwable cause = exception.getCause();
|
||||
if (cause instanceof NoSuchKeyException) {
|
||||
CraftEngine.instance().logger().warn("[S3] Resource pack not found! Upload it first.");
|
||||
return Collections.emptyList();
|
||||
} else {
|
||||
CraftEngine.instance().logger().warn(
|
||||
|
||||
Reference in New Issue
Block a user