mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-19 15:09:15 +00:00
Update FeatureUtils.java
This commit is contained in:
@@ -10,7 +10,7 @@ public class FeatureUtils {
|
||||
|
||||
public static Object createFeatureKey(Key id) {
|
||||
try {
|
||||
return CoreReflections.method$ResourceKey$create.invoke(null, MRegistries.instance$Registries$PLACED_FEATURE, KeyUtils.toResourceLocation(id));
|
||||
return CoreReflections.method$ResourceKey$create.invoke(null, MRegistries.instance$Registries$CONFIGURED_FEATURE, KeyUtils.toResourceLocation(id));
|
||||
} catch (ReflectiveOperationException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user