Fixed little mistake that made the plugin throw an NPE in some occasions

This commit is contained in:
Jaime Martinez Rincon 2017-01-16 19:51:43 +01:00
parent 106c4e2c04
commit 872863c5e5

View File

@ -71,7 +71,7 @@ public class ServerSection {
if (matcher.matches()) {
printStartupInfo("Found a match with \"%s\" for entry \"%s\"", key, entry);
servers.add(value);
manager.register(server, this);
manager.register(value, this);
matches.set(true);
}
});