mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
port changes to 1.21
This commit is contained in:
parent
a3bb585a15
commit
42bdd3693c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class ShaderSources {
|
|||
}
|
||||
|
||||
private static ResourceLocation locationWithoutFlywheelPrefix(ResourceLocation loc) {
|
||||
return new ResourceLocation(loc.getNamespace(), loc.getPath()
|
||||
return ResourceLocation.fromNamespaceAndPath(loc.getNamespace(), loc.getPath()
|
||||
.substring(SHADER_DIR.length()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue