Closed FortuneMidnight closed 3 months ago
You use the API wrong.
To create a new Hologram, use DHAPI.createHologram(String, Location)
The way you do it is not recommended nor a proper way of doing it.
And to clarify further:
In the Hologram(String, Location, boolean)
constructor does a true boolean value cause new FileConfig(...)
to be called, which creates a new file, since it assumes the Hologram to be saved later on.
And calling Hologram(String, Location)
is calling the other constructor with the boolean argument set to true.
Yes, now it works properly xD, my bad
Just making sure
Reproduction
Although saveToFile is set to false, empty files are created in the Holograms folder of DecentHolograms
Solution
No response
Server Version
1.20.4
Client Version
1.20.4
Plugin Version
v2.8.6
Log
not needed