Mykindos / BetterPvP

17 stars 21 forks source link

Drastic fix to prevent passing the border #1019

Open StudentAlleg opened 1 month ago

StudentAlleg commented 1 month ago

stop teleport if it would hit the border

Completely cancel the teleport if it would hit the border. This allows the vanilla behavior when encountering the border to always work, and should always prevent players from getting past the border. Will stop the skill, but not use the skill. This only happens if it would hit the border (standing at the border and using a skill not directed at the border will still work).

Fixes #795 Fixes #1011

Checklist before requesting a review

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud