added tick duration read/write to nbt

This commit is contained in:
Luis C.M committed 2024-03-24 03:31:56 -05:00
1 parent a1fa0564c3
commit fab170a9c9
2 files changed
+6 -1

No files matched your search

@@ -135,7 +135,10 @@ public class Frame implements IFrame {
customized = true;
smooth = compound.getByte("Smooth");
}
if(compound.hasKey("RenderTicks")){
if (compound.hasKey("TickDuration")) {
this.tickDuration = compound.getInteger("TickDuration");
} else if(compound.hasKey("RenderTicks")){
customized = true;
this.tickDuration = 20;
}