fix: update aabb on client
This commit is contained in:
parent
ca4b96ac47
commit
274f177c34
|
@ -195,10 +195,8 @@ export default () => class Visible extends decorate(Trait) {
|
|||
}
|
||||
|
||||
tick() {
|
||||
if ('client' !== process.env.SIDE) {
|
||||
if (this.#scheduledBoundingBoxUpdate) {
|
||||
this.forceUpdateBoundingBox();
|
||||
}
|
||||
if (this.#scheduledBoundingBoxUpdate) {
|
||||
this.forceUpdateBoundingBox();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user