Commit b87787c
authored
Fix BlockLineIterator error due to floating point error near edges of blocks. (SkriptLang#7769)
* Update BlockLineIterator.java
* forgot the negative sign
* add regression test1 parent 43dee01 commit b87787c
2 files changed
Lines changed: 7 additions & 1 deletion
File tree
- src
- main/java/ch/njol/skript/util
- test/skript/tests/regressions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments