mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 16:17:20 +00:00
getKey -> key
This commit is contained in:
1 parent
8467a19781
commit
2b92e2e73b
22 files changed
+78
-83
No files matched your search
@@ -3,7 +3,7 @@ package com.dfsek.terra.api.registry.key;
|
||||
public interface Namespaced {
|
||||
String getNamespace();
|
||||
|
||||
default RegistryKey getKey(String id) {
|
||||
default RegistryKey key(String id) {
|
||||
return RegistryKey.of(getNamespace(), id);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user