mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 22:43:56 +01:00
port changes to 1.21
This commit is contained in:
parent
a3bb585a15
commit
42bdd3693c
@ -41,7 +41,7 @@ public class ShaderSources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static ResourceLocation locationWithoutFlywheelPrefix(ResourceLocation loc) {
|
private static ResourceLocation locationWithoutFlywheelPrefix(ResourceLocation loc) {
|
||||||
return new ResourceLocation(loc.getNamespace(), loc.getPath()
|
return ResourceLocation.fromNamespaceAndPath(loc.getNamespace(), loc.getPath()
|
||||||
.substring(SHADER_DIR.length()));
|
.substring(SHADER_DIR.length()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user