mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 07:55:53 +00:00
Cleanup/Implement some todos (#5660)
This commit is contained in:
1 parent
e868739675
commit
c0aa4c8517
5 files changed
+28
-22
No files matched your search
@@ -23,6 +23,7 @@ import javax.annotation.Nullable;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import net.minecraft.resources.IResourceManagerReloadListener;
|
||||
import net.minecraftforge.common.ForgeConfig;
|
||||
|
||||
/**
|
||||
* Handles reload parameters for selective loaders.
|
||||
@@ -58,7 +59,7 @@ public enum SelectiveReloadStateHandler
|
||||
*/
|
||||
public Predicate<IResourceType> get()
|
||||
{
|
||||
if (this.currentPredicate == null || true) // TODO configs || !ForgeMod.selectiveResourceReloadEnabled)
|
||||
if (this.currentPredicate == null || !ForgeConfig.CLIENT.selectiveResourceReloadEnabled.get())
|
||||
{
|
||||
return ReloadRequirements.all();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user