mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 02:33:08 +00:00
Fix book meta error message.
This commit is contained in:
parent
63ce4a99b9
commit
f1e3d48248
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
package com.earth2me.essentials.textreader;
|
||||
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
@ -25,7 +26,7 @@ public class BookPager
|
|||
//This checks to see if we have the chapter in the index
|
||||
if (!bookmarks.containsKey(pageStr.toLowerCase(Locale.ENGLISH)))
|
||||
{
|
||||
throw new Exception("No such /einfo chapter!");
|
||||
throw new Exception(_("infoUnknownChapter"));
|
||||
}
|
||||
|
||||
//Since we have a valid chapter, count the number of lines in the chapter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue