Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
211e8034ff
The problem: Off by one error for negative coordinates. Source: Behaviour of rounding coordinates (doubles) after deform. The off by error came down to rounding using casts (int) and rounding using Math.floor() (int)( 1.8) = 1 (int)(-1.8) = -1 (int)Math.floor( 1.8) = 1 (int)Math.floor(-1.8) = -2 Looking at the original WorldEdit implementation a Math.floor call is present too. It was missing FAWE which resulted in the bug. Co-authored-by: Alexander Brandes <mc.cache@web.de> |
||
---|---|---|
.. | ||
doctools | ||
src | ||
build.gradle.kts |