This commit is contained in:
Jesse Boyd 2017-09-14 15:31:25 +10:00
parent b2252a1cf6
commit ee38f856e4
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ public abstract class FaweParser<T> extends InputParser<T> {
}
if (newEntry) {
newEntry = false;
int index = StringMan.indexOf(command, i + prefix, '[', '&', ',');
int index = StringMan.indexOf(command, Math.max(i, end) + prefix, '[', '&', ',');
if (index < 0) index = len;
end = index;
current = command.substring(i + prefix, end);

View File

@ -30,7 +30,7 @@ public class Settings extends Config {
public String LANGUAGE = "";
@Comment("Allow the plugin to update")
public boolean UPDATE = true;
@Comment("Send anonymous usage statistics to mcstats.org")
@Comment("Send anonymous usage statistics")
public boolean METRICS = true;
@Comment("FAWE will skip chunks when there's not enough memory available")
public boolean PREVENT_CRASHES = false;