mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
We don't need two guides guides. Fixes #572
This commit is contained in:
parent
531e92bda3
commit
121354e489
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user