readme update. fix example.

This commit is contained in:
Sleaker 2012-02-18 18:58:49 -08:00
parent 8ce3c77129
commit 4ae740f00f

View File

@ -149,6 +149,9 @@ public class ExamplePlugin extends JavaPlugin {
return false;
}
RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
if (rsp == null) {
return false;
}
econ = rsp.getProvider();
return econ != null;
}