fix: server

This commit is contained in:
cha0s 2021-03-28 10:38:50 -05:00
parent dba763879e
commit a7c121bae8

View File

@ -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 {