can it just work please i need to sleep

This commit is contained in:
Jess H 2024-06-03 23:04:15 +01:00
parent 36613e0c1f
commit 3d6068c60c
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -140,7 +140,7 @@ public class FeatureManager {
public static <T extends Feature> T getFeature(Class<? extends T> clazz) { public static <T extends Feature> T getFeature(Class<? extends T> clazz) {
if(BaseBand.finishedDisabling) return null; if(BaseBand.finishedDisabling) return null;
for (Feature feature : get().filteredFeatures) { for (Feature feature : features) {
if (feature.getClass() == clazz) if (feature.getClass() == clazz)
return (T) feature; return (T) feature;
} }