getKey -> key

This commit is contained in:
dfsek
2021-12-25 01:04:19 -07:00
parent 8467a19781
commit 2b92e2e73b
22 changed files with 78 additions and 83 deletions

View File

@@ -60,7 +60,7 @@ public class SpongeSchematicAddon implements AddonInitializer {
event.getPack().getLoader().open("", ".schem").thenEntries(entries -> {
for(Map.Entry<String, InputStream> entry : entries) {
String id = StringUtil.fileName(entry.getKey());
structureRegistry.register(addon.getKey(id), convert(entry.getValue(), id));
structureRegistry.register(addon.key(id), convert(entry.getValue(), id));
}
}).close();
})