can it just work please i need to sleep
This commit is contained in:
parent
36613e0c1f
commit
3d6068c60c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue