deprecare getByID

This commit is contained in:
dfsek committed 2022-08-18 16:54:16 -07:00
1 parent c8beb0f965
commit b04a4850da
1 file changed
+1
@@ -82,6 +82,7 @@ public interface Registry<T> extends TypeLoader<T> {
return getType().getRawType();
}
@Deprecated
default Optional<T> getByID(String id) {
return getByID(id, map -> {
if(map.isEmpty()) return Optional.empty();