Skip to content
Snippets Groups Projects
Commit 8f8c6833 authored by Zoey76's avatar Zoey76
Browse files

BETA: Minor typo fix for [8840], thanks FullMetal for report.

	* Closing #5304
parent 688428ed
No related branches found
No related tags found
No related merge requests found
...@@ -237,7 +237,7 @@ public class AdminAnnouncements implements IAdminCommandHandler ...@@ -237,7 +237,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
return false; return false;
} }
token = st.nextToken(); token = st.nextToken();
if (!Util.isDigit(token)) if (!token.equals("-1") && !Util.isDigit(token))
{ {
activeChar.sendMessage("Not a valid repeat value!"); activeChar.sendMessage("Not a valid repeat value!");
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment