9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 11:59:11 +00:00

Update Atlas.java

This commit is contained in:
XiaoMoMi
2025-12-18 05:50:06 +08:00
parent 1d4335d53b
commit a0055cc356

View File

@@ -154,6 +154,8 @@ public final class Atlas {
if (this.filtered.test(texture)) return null;
// single直接包含
if (this.single.contains(texture)) return texture;
// 被unstitch或者调色盘定义
if (this.defined.contains(texture)) return null;
String path = texture.value();
// 路径匹配
for (Map.Entry<String, String> entry : this.directory.entrySet()) {