diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-06 21:40:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 21:40:51 +0800 |
commit | dae0a294baba5b92c8d7aecc19d6cc69b2bb7bd9 (patch) | |
tree | 400822cf2d435fd0ca086ffecba91df89a974f70 /features/specialMining/index.js | |
parent | 6600e4968e4c2e06003dc2bdd4b05dc7eee767f7 (diff) | |
parent | 440138a8c05cb5cfbe28c5e77387e049b1db7108 (diff) | |
download | SoopyV2-dae0a294baba5b92c8d7aecc19d6cc69b2bb7bd9.tar.gz SoopyV2-dae0a294baba5b92c8d7aecc19d6cc69b2bb7bd9.tar.bz2 SoopyV2-dae0a294baba5b92c8d7aecc19d6cc69b2bb7bd9.zip |
Merge pull request #59 from Soopyboo32/master
pull master
Diffstat (limited to 'features/specialMining/index.js')
-rw-r--r-- | features/specialMining/index.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/features/specialMining/index.js b/features/specialMining/index.js index 0da808d..c7929fb 100644 --- a/features/specialMining/index.js +++ b/features/specialMining/index.js @@ -423,8 +423,12 @@ class PowderAndScatha extends Feature { } else if (this.wormEntity) { this.wormEntity = undefined; } - tempText = this.wormEntity.getName() - this.scathaHealthElement.setText(tempText) + if (this.wormEntity) { + tempText = this.wormEntity.getName() + this.scathaHealthElement.setText(tempText) + } else { + this.scathaHealthElement.setText("") + } } initVariables() { |