aboutsummaryrefslogtreecommitdiff
path: root/features/events
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-18 16:57:23 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-18 16:57:23 +0800
commita9e72c1297b6f4b046dbe9c76516a0e0d30c2d39 (patch)
tree31bc263a70237f1bbf9acca23ca34a9ed0f1ebd1 /features/events
parent4cdf533c28ff4680124c986b7cd16ae5870d0c36 (diff)
downloadSoopyV2-a9e72c1297b6f4b046dbe9c76516a0e0d30c2d39.tar.gz
SoopyV2-a9e72c1297b6f4b046dbe9c76516a0e0d30c2d39.tar.bz2
SoopyV2-a9e72c1297b6f4b046dbe9c76516a0e0d30c2d39.zip
fixes
Diffstat (limited to 'features/events')
-rw-r--r--features/events/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/events/index.js b/features/events/index.js
index ee89ff4..67add66 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -132,6 +132,7 @@ class Events extends Feature {
slots.forEach(a=>{
item = Player.getInventory().getStackInSlot(a)
+ if(!item) return
if(ChatLib.removeFormatting(item.getName()) === "Ancestral Spade"){
hasDianaShovle = true
}