fix: double kill

This commit is contained in:
cha0s 2021-02-12 10:55:07 -06:00
parent 89d3a6df36
commit 37ab5bdead

View File

@ -89,12 +89,6 @@ export default (latus) => class Tool extends Trait {
};
}
destroy() {
if ('client' === process.env.SIDE) {
this.#primitives.destroy();
}
}
calculateTargetStart() {
const {wielder} = this.entity;
if (!wielder || !wielder.is('Directional') || !wielder.is('Layered')) {