+ Added message when ProtocolLib is not installed.
This commit is contained in:
		@@ -93,6 +93,11 @@ public class BlockHunt extends JavaPlugin implements Listener {
 | 
			
		||||
			MessageM.broadcastFMessage(ConfigC.error_disguiseCraftNotInstalled,
 | 
			
		||||
					true);
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		if (!getServer().getPluginManager().isPluginEnabled("ProtocolLib")) {
 | 
			
		||||
			MessageM.broadcastFMessage(ConfigC.error_protocolLibNotInstalled,
 | 
			
		||||
					true);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		W.dcAPI = DisguiseCraft.getAPI();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -126,6 +126,8 @@ public enum ConfigC {
 | 
			
		||||
			W.messages),
 | 
			
		||||
	error_disguiseCraftNotInstalled ("%EThe plugin '%ADisguiseCraft%E' is required to run this plugin! Intall it or it won't work!",
 | 
			
		||||
			W.messages),
 | 
			
		||||
	error_protocolLibNotInstalled ("%EThe plugin '%AProtocolLib%E' is required to run this plugin! Intall it or it won't work!",
 | 
			
		||||
			W.messages),
 | 
			
		||||
	error_noArena ("%ENo arena found with the name '%A%name%%E'.", W.messages),
 | 
			
		||||
	error_onlyIngame ("%EThis is an only in-game command!", W.messages),
 | 
			
		||||
	error_joinAlreadyJoined ("%EYou've already joined an arena!", W.messages),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user