Fixes incorrect formatting and unused imports
This commit is contained in:
		@@ -521,13 +521,16 @@ portalInfoServer=Server: %server%
 | 
				
			|||||||
> currently support your language, please submit a translation [here](https://sgrewritten.org/translate)!
 | 
					> currently support your language, please submit a translation [here](https://sgrewritten.org/translate)!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Changes
 | 
					# Changes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### \[Version 0.11.5.6] Unified Legacy Fork
 | 
					#### \[Version 0.11.5.6] Unified Legacy Fork
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Fixed a potential stack trace experienced when disabling Dynmap
 | 
					- Fixed a potential stack trace experienced when disabling Dynmap
 | 
				
			||||||
- Fixed some problems related to negative economy transactions.
 | 
					- Fixed some problems related to negative economy transactions.
 | 
				
			||||||
- Fixed an exception occuring when negative yaw values are encountered.
 | 
					- Fixed an exception occuring when negative yaw values are encountered.
 | 
				
			||||||
- Updated the about command and added a debug command.
 | 
					- Updated the about command and added a debug command.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### \[Version 0.11.5.5] Unified Legacy Fork
 | 
					#### \[Version 0.11.5.5] Unified Legacy Fork
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Hotfix for a compatibility issue preventing the plugin from working on most pre-1.20 server jars.
 | 
					- Hotfix for a compatibility issue preventing the plugin from working on most pre-1.20 server jars.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### \[Version 0.11.5.4] Unified Legacy Fork
 | 
					#### \[Version 0.11.5.4] Unified Legacy Fork
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,11 +25,11 @@ public class CommandAbout implements CommandExecutor {
 | 
				
			|||||||
        ChatColor textColor = ChatColor.GOLD;
 | 
					        ChatColor textColor = ChatColor.GOLD;
 | 
				
			||||||
        ChatColor highlightColor = ChatColor.GREEN;
 | 
					        ChatColor highlightColor = ChatColor.GREEN;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try(InputStream inputStream = Stargate.class.getResourceAsStream("/messages/about.md")){
 | 
					        try (InputStream inputStream = Stargate.class.getResourceAsStream("/messages/about.md")) {
 | 
				
			||||||
            String aboutMessageString = FileHelper.readStreamToString(inputStream);
 | 
					            String aboutMessageString = FileHelper.readStreamToString(inputStream);
 | 
				
			||||||
            BaseComponent[] component = MineDown.parse(aboutMessageString);
 | 
					            BaseComponent[] component = MineDown.parse(aboutMessageString);
 | 
				
			||||||
            commandSender.spigot().sendMessage(component);
 | 
					            commandSender.spigot().sendMessage(component);
 | 
				
			||||||
        } catch (IOException ioException){
 | 
					        } catch (IOException ioException) {
 | 
				
			||||||
            commandSender.sendMessage("Internal error");
 | 
					            commandSender.sendMessage("Internal error");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        String author = Stargate.getStargateConfig().getLanguageLoader().getString("author");
 | 
					        String author = Stargate.getStargateConfig().getLanguageLoader().getString("author");
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,5 @@
 | 
				
			|||||||
package net.knarcraft.stargate.command;
 | 
					package net.knarcraft.stargate.command;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import net.knarcraft.stargate.Stargate;
 | 
					 | 
				
			||||||
import net.md_5.bungee.api.ChatColor;
 | 
					import net.md_5.bungee.api.ChatColor;
 | 
				
			||||||
import org.bukkit.Bukkit;
 | 
					import org.bukkit.Bukkit;
 | 
				
			||||||
import org.bukkit.command.Command;
 | 
					import org.bukkit.command.Command;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,6 @@ import java.io.BufferedReader;
 | 
				
			|||||||
import java.io.IOException;
 | 
					import java.io.IOException;
 | 
				
			||||||
import java.io.InputStream;
 | 
					import java.io.InputStream;
 | 
				
			||||||
import java.io.InputStreamReader;
 | 
					import java.io.InputStreamReader;
 | 
				
			||||||
import java.nio.charset.Charset;
 | 
					 | 
				
			||||||
import java.nio.charset.StandardCharsets;
 | 
					import java.nio.charset.StandardCharsets;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class FileHelper {
 | 
					public class FileHelper {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,9 @@
 | 
				
			|||||||
&green&Stargate Unified Legacy v. &gold&@version@ &green&(maintained by&gold& [sgrewritten.org](https://sgrewritten.org)&green&).
 | 
					&green&Stargate Unified Legacy v. &gold&@version@ &green&(maintained by&gold& [sgrewritten.org](https://sgrewritten.org)
 | 
				
			||||||
A Hmod transportation concept by&gold& [Dinnerbone](https://github.com/Dinnerbone)&green& and&gold& [Sturmeh](https://github.com/Sturmeh).
 | 
					&green&).
 | 
				
			||||||
&green&Ported to bukkit by&gold& [Drakia](https://github.com/DrakiaXYZ).&green& Revived by&gold& [EpicKnarvik97](https://sgrewritten.org/knarvik),
 | 
					A Hmod transportation concept by&gold& [Dinnerbone](https://github.com/Dinnerbone)&green&
 | 
				
			||||||
 | 
					and&gold& [Sturmeh](https://github.com/Sturmeh).
 | 
				
			||||||
 | 
					&green&Ported to bukkit by&gold& [Drakia](https://github.com/DrakiaXYZ).&green& Revived
 | 
				
			||||||
 | 
					by&gold& [EpicKnarvik97](https://sgrewritten.org/knarvik),
 | 
				
			||||||
&green&now incorporating features from all other Stargate forks.
 | 
					&green&now incorporating features from all other Stargate forks.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For more information, visit&gold& [sgrewritten.org/legacy](https://sgrewritten.org/legacy)
 | 
					For more information, visit&gold& [sgrewritten.org/legacy](https://sgrewritten.org/legacy)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user