Skip to content

Commit

Permalink
Fixes test
Browse files Browse the repository at this point in the history
- Wither skull wasn't spawning as I thought it was, changed to shoot effect
  • Loading branch information
cheeezburga committed Jul 6, 2024
1 parent 28f1d87 commit 5ba53c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/skript/tests/syntaxes/conditions/CondIsCharged.sk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
test "is charged":
spawn a creeper at (spawn of world "world"):
set {_e} to entity
spawn a wither skull at (spawn of world "world") ~ vector(0,10,0):
set {_w} to entity
shoot a wither skull from {_e}
set {_w} to last shot entity

assert {_e} is not charged with "a normally spawned creeper should not be charged"
assert {_w} is not charged with "a normally spawned wither skull should not be charged"
Expand Down

0 comments on commit 5ba53c4

Please sign in to comment.