mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 13:07:23 +01:00
fix super-perms plugin variable not being set properly.
This commit is contained in:
parent
2775f8d0ef
commit
e31c241ce4
@ -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;
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user