Fixes incorrect formatting and unused imports
This commit is contained in:
		@@ -25,11 +25,11 @@ public class CommandAbout implements CommandExecutor {
 | 
			
		||||
        ChatColor textColor = ChatColor.GOLD;
 | 
			
		||||
        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);
 | 
			
		||||
            BaseComponent[] component = MineDown.parse(aboutMessageString);
 | 
			
		||||
            commandSender.spigot().sendMessage(component);
 | 
			
		||||
        } catch (IOException ioException){
 | 
			
		||||
        } catch (IOException ioException) {
 | 
			
		||||
            commandSender.sendMessage("Internal error");
 | 
			
		||||
        }
 | 
			
		||||
        String author = Stargate.getStargateConfig().getLanguageLoader().getString("author");
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
package net.knarcraft.stargate.command;
 | 
			
		||||
 | 
			
		||||
import net.knarcraft.stargate.Stargate;
 | 
			
		||||
import net.md_5.bungee.api.ChatColor;
 | 
			
		||||
import org.bukkit.Bukkit;
 | 
			
		||||
import org.bukkit.command.Command;
 | 
			
		||||
 
 | 
			
		||||
@@ -106,7 +106,7 @@ public final class StargateConfig {
 | 
			
		||||
 | 
			
		||||
        //Set up vault economy if vault has been loaded
 | 
			
		||||
        setupVaultEconomy();
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        //Set up dynmap
 | 
			
		||||
        DynmapAPI dynmapAPI = (DynmapAPI) Bukkit.getPluginManager().getPlugin("dynmap");
 | 
			
		||||
        if (dynmapAPI != null) {
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@ import java.io.BufferedReader;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.io.InputStream;
 | 
			
		||||
import java.io.InputStreamReader;
 | 
			
		||||
import java.nio.charset.Charset;
 | 
			
		||||
import java.nio.charset.StandardCharsets;
 | 
			
		||||
 | 
			
		||||
public class FileHelper {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,9 @@
 | 
			
		||||
&green&Stargate Unified Legacy v. &gold&@version@ &green&(maintained by&gold& [sgrewritten.org](https://sgrewritten.org)&green&).
 | 
			
		||||
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&Stargate Unified Legacy v. &gold&@version@ &green&(maintained by&gold& [sgrewritten.org](https://sgrewritten.org)
 | 
			
		||||
&green&).
 | 
			
		||||
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.
 | 
			
		||||
 | 
			
		||||
For more information, visit&gold& [sgrewritten.org/legacy](https://sgrewritten.org/legacy)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user