Skip to content

Commit

Permalink
Corrected pull request issues. Others may need to be reviewed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyt3 committed Dec 1, 2023
1 parent 5e5082e commit b2e94e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eddy-swap.lic
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
- bowl
- mixing stick
- sieve
portal_store:
weapons:
items:
- broadsword
- bar mace
- javelin
alchemy_tools:
items: *alchemy_tools
Expand Down Expand Up @@ -88,6 +88,7 @@ class Eddy

def portal_check
return if DRCI.exists?("eddy")

DRC.message("You need to be wearing a portal to use this script!")
exit
end
Expand All @@ -109,6 +110,7 @@ class Eddy
item_swap.each do |item|
if !portal_container.nil?
return unless DRCI.inside?("#{item}", "#{portal_container} in my portal")

DRCI.get_item?("#{item}", "#{portal_container} in my portal")
DRCI.put_away_item?("#{item}", container)
elsif DRCI.exists?("#{item}", "portal")
Expand Down

0 comments on commit b2e94e1

Please sign in to comment.