DecentSoftware-eu / DecentHolograms

A lightweight but powerful hologram plugin with many features and configuration options.
https://www.spigotmc.org/resources/96927/
GNU General Public License v3.0
211 stars 101 forks source link

Cannot use decimal numbers on location #153

Closed Nino1500 closed 1 year ago

Nino1500 commented 1 year ago

Just making sure

Reproduction

  1. Install DecentHolograms...
  2. Use the API
  3. set decimal numbers on location Y-Coord
  4. find out it doesnt work and only whole numbers work

Solution

No response

Server Version

1.20.1

Client Version

1.20.1

Plugin Version

2.8.3

Log

Theres no crash or indication on an error

Andre601 commented 1 year ago

Please provide a reproduction example

Nino1500 commented 1 year ago

Make a holo with and without decimals, thats actually the reproduction reproduction

Andre601 commented 1 year ago

You call Location#toCenterLocation()

Pretty sure that one forces Y to end up on a whole number...