Incorrect EffLeash example #6234
Labels
completed
The issue has been fully resolved and the change will be in the next Skript update.
documentation
Related to Skript's official documentation.
patch-ready
A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Skript/Server Version
Bug Description
The given example for the leash effect is incorrect and will never work
Expected Behavior
A proper example showcasing how to use the effect and will work when tested
Steps to Reproduce
Look at example https://docs.skriptlang.org/effects.html?search=#EffLeash
or run example code in game.
leash the player to the target entity
Errors or Screenshots
This note on the method has been around since at least 1.12
![image](https://private-user-images.githubusercontent.com/81952476/290735746-cbbcad8d-9383-4322-9467-0428bddb1081.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTE2NDYsIm5iZiI6MTczOTQ1MTM0NiwicGF0aCI6Ii84MTk1MjQ3Ni8yOTA3MzU3NDYtY2JiY2FkOGQtOTM4My00MzIyLTk0NjctMDQyOGJkZGIxMDgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDEyNTU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlYjA0YTFmMTQzZDUwOTk0NzE2YTRjZTVhMGJiNTVlOTM3ZTVhMTMyYzYwYWIxOTZhZTVmNThiYjYxZDAwYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cdzLdnABe2CJFwPk2Bz_TMoFpMEOhgQOAqX5SZ-9i5s)
Other
A note about what isn't included should be added alongside a new example
Agreement
The text was updated successfully, but these errors were encountered: