Skip to content

Commit

Permalink
fix for registerDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
Efnilite committed Sep 15, 2024
1 parent 735abf6 commit be3dc17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/skript/tests/regressions/3281-itemamount fixes.sk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test "item amount fixes":
set time in world "world" to night # we dont want our poor zombie to die
set time of world "world" to night # we dont want our poor zombie to die
spawn a zombie at spawn of world "world"
set {_e} to last spawned zombie

Expand All @@ -9,7 +9,7 @@ test "item amount fixes":
assert item amount of {_e}'s tool = 10 with "Item amount of Zombie's tool should have been 10"
kill {_e} # ok maybe we do want him to die

set time in world "world" to day
set time of world "world" to day

drop dirt at location 20 above spawn of world "world"
set {_d} to last dropped item
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test "time in worlds":
test "time of worlds":

set {_w} to world "world"
set {_startTime} to time in {_w}
set {_startTime} to time of {_w}

set time of {_w} to 00:00
assert time of {_w} is 00:00 with "time in world should be 00:00"
Expand Down

0 comments on commit be3dc17

Please sign in to comment.