diff options
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java index 2effef9..10b67f0 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/IdentifierMixin.java @@ -11,7 +11,7 @@ public class IdentifierMixin { @Inject(method = "isPathValid(Ljava/lang/String;)Z", cancellable = true, at = @At("HEAD")) private static void isPathValid(String path, CallbackInfoReturnable<Boolean> ci) { - if(path.startsWith("optifine")) + if(path.startsWith("citresewn") || path.startsWith("optifine") || path.startsWith("mcpatcher")) ci.setReturnValue(true); return; } } |