mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
parent
a588e2a652
commit
1b286979c5
@ -178,6 +178,6 @@ public class PlayerInit {
|
|||||||
.append(Component.text("ACQ TIME: " + MathUtils.round(tickMonitor.getAcquisitionTime(), 2) + "ms"));
|
.append(Component.text("ACQ TIME: " + MathUtils.round(tickMonitor.getAcquisitionTime(), 2) + "ms"));
|
||||||
final Component footer = benchmarkManager.getCpuMonitoringMessage();
|
final Component footer = benchmarkManager.getCpuMonitoringMessage();
|
||||||
Audiences.players().sendPlayerListHeaderAndFooter(header, footer);
|
Audiences.players().sendPlayerListHeaderAndFooter(header, footer);
|
||||||
}).repeat(10, TimeUnit.SERVER_TICK);//.schedule();
|
}).repeat(10, TimeUnit.SERVER_TICK); //.schedule();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ public class AbstractDisplayMeta extends EntityMeta {
|
|||||||
super(entity, metadata);
|
super(entity, metadata);
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getTransformationInterpolationStartDelta() {
|
public int getTransformationInterpolationStartDelta() {
|
||||||
return super.metadata.getIndex(OFFSET, 0);
|
return super.metadata.getIndex(OFFSET, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ public class AbstractDisplayMeta extends EntityMeta {
|
|||||||
super.metadata.setIndex(OFFSET + 1, Metadata.VarInt(value));
|
super.metadata.setIndex(OFFSET + 1, Metadata.VarInt(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getPosRotInterpolationDuration() {
|
public int getPosRotInterpolationDuration() {
|
||||||
return super.metadata.getIndex(OFFSET + 2, 0);
|
return super.metadata.getIndex(OFFSET + 2, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user