mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-01-05 22:28:22 +00:00
Newline & Changelog
This commit is contained in:
parent
a622602113
commit
5dd22e771e
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
* Create a backup of your config.yml if you wish to import all your old settings!
|
* Create a backup of your config.yml if you wish to import all your old settings!
|
||||||
=== v6.4 ===
|
=== v6.4 ===
|
||||||
+ Added support for Minecraft 1.14
|
+ Added support for Minecraft 1.14
|
||||||
+ Added effects: 'campfire_cosy_smoke', 'campfire_signal_smoke', 'composter', 'falling_lava', 'falling_water', 'landing_lava'
|
+ Added 1.14 effects: 'campfire_cosy_smoke', 'campfire_signal_smoke', 'composter', 'falling_lava', 'falling_water', 'landing_lava', 'sneeze'
|
||||||
+ Added pages for effects, styles, and data in the GUI
|
+ Added pages for effects, styles, and data in the GUI
|
||||||
+ Added setting 'gui-close-after-group-selected' to the config.yml
|
+ Added setting 'gui-close-after-group-selected' to the config.yml
|
||||||
+ Added setting 'gui-presets-only' to the config.yml
|
+ Added setting 'gui-presets-only' to the config.yml
|
||||||
|
@ -12,6 +12,7 @@
|
||||||
* Fixed '/pp add' item data parameter being ignored
|
* Fixed '/pp add' item data parameter being ignored
|
||||||
* Fixed an error with the GUI chat hook for creating a new group in 1.9
|
* Fixed an error with the GUI chat hook for creating a new group in 1.9
|
||||||
* Fixed players being able to load saved groups they no longer have permission for
|
* Fixed players being able to load saved groups they no longer have permission for
|
||||||
|
* Fixed support for newline characters in GUI messages in some cases
|
||||||
=== v6.3 ===
|
=== v6.3 ===
|
||||||
+ Added the ability to remove particles by id/effect/style using '/pp remove <id>|<effect>|<style>'
|
+ Added the ability to remove particles by id/effect/style using '/pp remove <id>|<effect>|<style>'
|
||||||
+ Added new styles 'popper', 'pulse', 'twins', 'whirl', and 'whirlwind'
|
+ Added new styles 'popper', 'pulse', 'twins', 'whirl', and 'whirlwind'
|
||||||
|
|
|
@ -167,7 +167,7 @@ public class GuiActionButton {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Split the lore along \n onto a new line if any exist
|
// Split the lore along \n onto a new line if any exist
|
||||||
String[] splitLines = NMSUtil.getVersionNumber() > 13 ? line.split("\n") : line.split("\\\\n");
|
String[] splitLines = line.split("\n");
|
||||||
for (String parsedLine : splitLines) {
|
for (String parsedLine : splitLines) {
|
||||||
if (ChatColor.stripColor(parsedLine).isEmpty()) continue;
|
if (ChatColor.stripColor(parsedLine).isEmpty()) continue;
|
||||||
parsedLore.add(lineColor + parsedLine);
|
parsedLore.add(lineColor + parsedLine);
|
||||||
|
|
Loading…
Reference in a new issue