-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix leather horse armor being unequipable (#7141)
* init commit * oops * update * update ver * fix paper * hmm * yeah ok * oops * biggera oops * dont run tests on 1.20.6 * requested changes * tabs --------- Co-authored-by: sovdee <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/test/skript/tests/regressions/7140-leather horse armor unequipable.sk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
test "leather horse armor unequipable" when running minecraft "1.14": | ||
if minecraft version is "1.20.6": | ||
stop # horse armor equipping is broken on Paper 1.20.6. see https://github.com/PaperMC/Paper/pull/11139 | ||
|
||
spawn horse at spawn of world "world": | ||
set {_h} to entity | ||
|
||
equip {_h} with leather horse armor | ||
|
||
assert {_h} has leather horse armor with "horse doesn't have horse armor" | ||
|
||
delete entity within {_h} |