Configuration Check Negation
Nerdpie opened this issue · 2 comments
I'm currently working on adding similar behavior into Plethora based on your code, and I noticed that you have the same check in toRelative
and toAbsolute
. Just thought I'd mention it!
Upon closer inspection, the configuration check makes sense.
- The
toRelative
method is used to convert theBlockPos
for output, so it can return the input if the player is supposed to see the absolute position. - The
toAbsolute
method is used to convert the inputBlockPos
, so it only needs to sum the vectors if input should be relative coordinates.
The naming may be a bit confusing, but it should function just fine. Sorry for the false alarm!