We don't need two guides guides. Fixes #572

This commit is contained in:
GJ 2013-01-24 00:05:10 -05:00
parent 531e92bda3
commit 121354e489

View File

@ -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);
} }
} }