remove layer validator

This commit is contained in:
Noah Bazer 2024-08-18 11:14:02 -04:00
parent 271367eaf2
commit b56b23f2a6

View file

@ -48,9 +48,11 @@ public class PathResolver : IDisposable, IService
if (!_config.EnableMods)
return (null, ResolveData.Invalid);
//TODO @Star - check for state validater where applicable, otherwise will break executions
// Do not allow manipulating layers to prevent very obvious cheating and softlocks.
if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
return (null, ResolveData.Invalid);
//if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
//return (null, ResolveData.Invalid);
return category switch
{