mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	We don't need two guides guides. Fixes #572
This commit is contained in:
		@@ -69,13 +69,13 @@ public class Page {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                if (args.length > 1 && Misc.isInt(args[1]) && Misc.getInt(args[1]) <= totalPages) {
 | 
					                if (args.length > 1 && Misc.isInt(args[1]) && Misc.getInt(args[1]) <= totalPages) {
 | 
				
			||||||
                    Page.clearChat(player);
 | 
					                    Page.clearChat(player);
 | 
				
			||||||
                    for (String target : Page.grabPageContents(localized+" Guide", address, Misc.getInt(args[1]))) {
 | 
					                    for (String target : Page.grabPageContents(localized, address, Misc.getInt(args[1]))) {
 | 
				
			||||||
                        player.sendMessage(target);
 | 
					                        player.sendMessage(target);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                else if (args.length == 1) {
 | 
					                else if (args.length == 1) {
 | 
				
			||||||
                    Page.clearChat(player);
 | 
					                    Page.clearChat(player);
 | 
				
			||||||
                    for (String target : Page.grabPageContents(localized+" Guide", address, 1)) {
 | 
					                    for (String target : Page.grabPageContents(localized, address, 1)) {
 | 
				
			||||||
                        player.sendMessage(target);
 | 
					                        player.sendMessage(target);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user