fix: update aabb on client

This commit is contained in:
cha0s 2021-02-17 13:22:44 -06:00
parent ca4b96ac47
commit 274f177c34

View File

@ -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();
}
}