mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
remove layer validator
This commit is contained in:
parent
271367eaf2
commit
b56b23f2a6
1 changed files with 29 additions and 27 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue