mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-21 23:01:32 +01:00
chore: minor cleanup
This commit is contained in:
parent
8fcb53e498
commit
ac4c54731c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user