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