diff --git a/src/main/java/com/gmail/nossr50/util/Page.java b/src/main/java/com/gmail/nossr50/util/Page.java index eab289c81..41ee203d7 100644 --- a/src/main/java/com/gmail/nossr50/util/Page.java +++ b/src/main/java/com/gmail/nossr50/util/Page.java @@ -73,7 +73,15 @@ public class Page { { player.sendMessage(target); } - } else if(args.length > 1 && m.getInt(args[1]) > Page.getTotalPageNumber(address)) + } else if(args.length == 1) + { + Page.clearChat(player); + for(String target : Page.grabPageContents(capitalized+" Guide", address, 1)) + { + player.sendMessage(target); + } + } + else if(args.length > 1 && m.getInt(args[1]) > Page.getTotalPageNumber(address)) { player.sendMessage("That page doesn't exist, there are only "+Page.getTotalPageNumber(address)+" total pages"); }