Update NoteStyle.hx

This commit is contained in:
lemz1 2024-11-06 18:48:17 +01:00
parent 90c15fe542
commit dbd9e5c7e0

View file

@ -35,7 +35,7 @@ class NoteStyle implements IRegistryEntry<NoteStyleData>
function get_fallback():Null<NoteStyle> function get_fallback():Null<NoteStyle>
{ {
if (_data == null || _data.fallback == null) return null; if (_data == null || _data.fallback == null) return null;
return registryInstance.fetchEntry(_data.fallback); return NoteStyleRegistry.instance.fetchEntry(_data.fallback);
} }
/** /**
@ -879,7 +879,7 @@ class NoteStyle implements IRegistryEntry<NoteStyleData>
static function _fetchData(id:String):NoteStyleData static function _fetchData(id:String):NoteStyleData
{ {
var result = registryInstance.parseEntryDataWithMigration(id, registryInstance.fetchEntryVersion(id)); var result = NoteStyleRegistry.instance.parseEntryDataWithMigration(id, NoteStyleRegistry.instance.fetchEntryVersion(id));
if (result == null) if (result == null)
{ {