diff --git a/src/main/java/xyz/bluspring/kilt/forgeinjects/client/renderer/ShaderInstanceInject.java b/src/main/java/xyz/bluspring/kilt/forgeinjects/client/renderer/ShaderInstanceInject.java index d8e7f077..607c9fd5 100644 --- a/src/main/java/xyz/bluspring/kilt/forgeinjects/client/renderer/ShaderInstanceInject.java +++ b/src/main/java/xyz/bluspring/kilt/forgeinjects/client/renderer/ShaderInstanceInject.java @@ -65,7 +65,7 @@ public ShaderInstanceInject(ResourceProvider provider, ResourceLocation resource cancellable = true ) private void kilt$addForgeSupportToFabricAPI(String id, CallbackInfoReturnable cir) { - if (id.contains(":")) { + if (id.contains(":") && !(((Object) this) instanceof FabricShaderProgram)) { cir.setReturnValue(FabricShaderProgram.rewriteAsId(id, this.name)); } }