chore: minor cleanup

(cherry picked from commit ac4c54731c)
This commit is contained in:
mworzala 2023-12-01 17:11:23 +02:00 committed by Matt Worzala
parent a588e2a652
commit 1b286979c5
2 changed files with 3 additions and 3 deletions

View File

@ -178,6 +178,6 @@ public class PlayerInit {
.append(Component.text("ACQ TIME: " + MathUtils.round(tickMonitor.getAcquisitionTime(), 2) + "ms"));
final Component footer = benchmarkManager.getCpuMonitoringMessage();
Audiences.players().sendPlayerListHeaderAndFooter(header, footer);
}).repeat(10, TimeUnit.SERVER_TICK);//.schedule();
}).repeat(10, TimeUnit.SERVER_TICK); //.schedule();
}
}

View File

@ -16,7 +16,7 @@ public class AbstractDisplayMeta extends EntityMeta {
super(entity, metadata);
}
public long getTransformationInterpolationStartDelta() {
public int getTransformationInterpolationStartDelta() {
return super.metadata.getIndex(OFFSET, 0);
}
@ -32,7 +32,7 @@ public class AbstractDisplayMeta extends EntityMeta {
super.metadata.setIndex(OFFSET + 1, Metadata.VarInt(value));
}
public long getPosRotInterpolationDuration() {
public int getPosRotInterpolationDuration() {
return super.metadata.getIndex(OFFSET + 2, 0);
}