mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +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)
|
if (!_config.EnableMods)
|
||||||
return (null, ResolveData.Invalid);
|
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.
|
// Do not allow manipulating layers to prevent very obvious cheating and softlocks.
|
||||||
if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
|
//if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
|
||||||
return (null, ResolveData.Invalid);
|
//return (null, ResolveData.Invalid);
|
||||||
|
|
||||||
return category switch
|
return category switch
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue