mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 19:37:53 +01:00
Fix VertexWriter
- Bump pack format in pack.mcmeta
This commit is contained in:
parent
e59b741045
commit
0d2971007b
3 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ class VertexWriter implements VertexConsumer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private long vertexPtr() {
|
private long vertexPtr() {
|
||||||
return data.ptr() + vertexCount * STRIDE;
|
return data.ptr() + (vertexCount - 1) * STRIDE;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void endLastVertex() {
|
private void endLastVertex() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
modLoader = "javafml"
|
modLoader = "javafml"
|
||||||
# The loader version doesn't matter. Modify the Forge and/or Minecraft version ranges instead.
|
# The loader version doesn't matter. Modify the NeoForge and/or Minecraft version ranges instead.
|
||||||
loaderVersion = "[0,)"
|
loaderVersion = "[0,)"
|
||||||
license = "${mod_license}"
|
license = "${mod_license}"
|
||||||
issueTrackerURL = "${mod_issues}"
|
issueTrackerURL = "${mod_issues}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "${mod_name} resources",
|
"description": "${mod_name} resources",
|
||||||
"pack_format": 15
|
"pack_format": 34
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue