dynmap/spigot
Terin Stock 2e382ae160 fix: explicitly set sign lines
Minecraft allows for plugins to retrieve the text of a newly created or
modified sign through the `SignChangeEvent.getLines()` method. In
vanilla, the lines returned can be mutated, however a
`SignChangeEvent.setLine(idx, text)` method exists.

PaperMC has internally switched most user-facing text to using the
Adventure Text components, to better support text styling and optimize
serializations. For backwards compatibility with most plugins, PaperMC
retains deprecated `getLines` and `setLine` methods by providing a
legacy serialization view of the Aventure components, however mutations
of the returned list are ignored.

This changeset calls `setLine` after all event listeners ran, allowing
PaperMC to preserve the sign mutations.
2021-08-29 21:53:54 -07:00
..
src/main fix: explicitly set sign lines 2021-08-29 21:53:54 -07:00
tools Shift spigot version to more appropriate path 2018-08-23 23:14:55 -05:00
.gitignore Shift spigot version to more appropriate path 2018-08-23 23:14:55 -05:00
build.gradle spigot: fix resource handling on Gradle 7 2021-06-27 15:28:05 +02:00