fix super-perms plugin variable not being set properly.

This commit is contained in:
Sleaker 2012-01-02 10:01:51 -08:00
parent 2775f8d0ef
commit e31c241ce4
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@ import net.milkbowl.vault.permission.Permission;
public class Permission_SuperPerms extends Permission { public class Permission_SuperPerms extends Permission {
private String name = "SuperPerms"; private String name = "SuperPerms";
private Vault plugin;
public Permission_SuperPerms(Vault plugin) { public Permission_SuperPerms(Vault plugin) {
this.plugin = plugin; this.plugin = plugin;

View File

@ -15,17 +15,17 @@ import org.bukkit.permissions.PermissionAttachmentInfo;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin; import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin;
import net.milkbowl.vault.Vault;
import net.milkbowl.vault.permission.Permission; import net.milkbowl.vault.permission.Permission;
public class Permission_zPermissions extends Permission { public class Permission_zPermissions extends Permission {
private static final String name = "zPermissions"; private static final String name = "zPermissions";
private ZPermissionsPlugin perms; private ZPermissionsPlugin perms;
private final Plugin plugin;
private PermissionServerListener permissionServerListener = null; private PermissionServerListener permissionServerListener = null;
private ConsoleCommandSender ccs; private ConsoleCommandSender ccs;
public Permission_zPermissions(Plugin plugin) { public Permission_zPermissions(Vault plugin) {
this.plugin = plugin; this.plugin = plugin;
ccs = Bukkit.getServer().getConsoleSender(); ccs = Bukkit.getServer().getConsoleSender();
permissionServerListener = new PermissionServerListener(); permissionServerListener = new PermissionServerListener();