fix: server
This commit is contained in:
parent
dba763879e
commit
a7c121bae8
|
@ -133,8 +133,10 @@ export default (latus) => class Tool extends Trait {
|
|||
destroy() {
|
||||
const {wielder} = this.entity;
|
||||
this.onWielderChanged(wielder);
|
||||
this.#primitives.destroy();
|
||||
this.#throbber = {};
|
||||
if ('client' === process.env.SIDE) {
|
||||
this.#primitives.destroy();
|
||||
this.#throbber = {};
|
||||
}
|
||||
}
|
||||
|
||||
hotJSON() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user