9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 18:39:20 +00:00

Update MAttributeHolders.java

This commit is contained in:
XiaoMoMi
2025-07-02 02:53:26 +08:00
parent 37505c1575
commit a27f1678fd

View File

@@ -12,7 +12,7 @@ public final class MAttributeHolders {
private static Object getById(String id) {
Object rl = FastNMS.INSTANCE.method$ResourceLocation$fromNamespaceAndPath("minecraft", id);
return FastNMS.INSTANCE.method$Registry$getHolderByResourceLocation(MBuiltInRegistries.ATTRIBUTE, rl);
return FastNMS.INSTANCE.method$Registry$getHolderByResourceLocation(MBuiltInRegistries.ATTRIBUTE, rl).get();
}
static {