fix iChat package checking

This commit is contained in:
Sleaker 2011-11-19 17:01:31 -08:00
parent 9e04122c9f
commit 6bacfef517

View File

@ -119,7 +119,7 @@ public class Vault extends JavaPlugin {
}
// Try to load iChat
if (packageExists(new String[] { "ru.tehkode.permissions.bukkit.PermissionsEx" })) {
if (packageExists(new String[] { "net.TheDgtl.iChat.iChat" })) {
Chat iChat = new Chat_iChat(this, perms);
getServer().getServicesManager().register(Chat.class, iChat, this, ServicePriority.Lowest);
log.info(String.format("[%s][Chat] PermissionsEx found: %s", getDescription().getName(), iChat.isEnabled() ? "Loaded" : "Waiting"));