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