mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-22 06:03:45 +02:00 
			
		
		
		
	Fixes #1593
This commit is contained in:
		| @@ -6,6 +6,7 @@ import com.intellectualcrafters.plot.object.PlotPlayer; | |||||||
| import com.intellectualcrafters.plot.util.HttpUtil; | import com.intellectualcrafters.plot.util.HttpUtil; | ||||||
| import com.intellectualcrafters.plot.util.MainUtil; | import com.intellectualcrafters.plot.util.MainUtil; | ||||||
| import com.intellectualcrafters.plot.util.StringMan; | import com.intellectualcrafters.plot.util.StringMan; | ||||||
|  | import com.intellectualcrafters.plot.util.TaskManager; | ||||||
| import com.plotsquared.general.commands.CommandDeclaration; | import com.plotsquared.general.commands.CommandDeclaration; | ||||||
|  |  | ||||||
| @CommandDeclaration(command = "plugin", | @CommandDeclaration(command = "plugin", | ||||||
| @@ -17,10 +18,15 @@ public class PluginCmd extends SubCommand { | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public boolean onCommand(PlotPlayer player, String[] args) { |     public boolean onCommand(PlotPlayer player, String[] args) { | ||||||
|         MainUtil.sendMessage(player, String.format("$2>> $1&l" + PS.imp().getPluginName() + " $2($1Version$2: $1%s$2)", StringMan.join(PS.get().getVersion(), "."))); |         TaskManager.IMP.taskAsync(new Runnable() { | ||||||
|         MainUtil.sendMessage(player, "$2>> $1&lAuthors$2: $1Citymonstret $2& $1Empire92 $2& $1MattBDev"); |             @Override | ||||||
|         MainUtil.sendMessage(player, "$2>> $1&lWiki$2: $1https://github.com/IntellectualCrafters/PlotSquared/wiki"); |             public void run() { | ||||||
|         MainUtil.sendMessage(player, "$2>> $1&lNewest Version$2: $1" + getNewestVersionString()); |                 MainUtil.sendMessage(player, String.format("$2>> $1&l" + PS.imp().getPluginName() + " $2($1Version$2: $1%s$2)", StringMan.join(PS.get().getVersion(), "."))); | ||||||
|  |                 MainUtil.sendMessage(player, "$2>> $1&lAuthors$2: $1Citymonstret $2& $1Empire92 $2& $1MattBDev"); | ||||||
|  |                 MainUtil.sendMessage(player, "$2>> $1&lWiki$2: $1https://github.com/IntellectualCrafters/PlotSquared/wiki"); | ||||||
|  |                 MainUtil.sendMessage(player, "$2>> $1&lNewest Version$2: $1" + getNewestVersionString()); | ||||||
|  |             } | ||||||
|  |         }); | ||||||
|         return true; |         return true; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jesse Boyd
					Jesse Boyd