summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-25 14:18:45 +0200
committersnowleo <schneeleo@gmail.com>2011-06-25 14:18:45 +0200
commited06b29dd75e1abbfb39103c4bf8a8b933aa2d26 (patch)
tree440581cbaecf6604858fd9720e6866cc3fab8791 /EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions
parentca9364d25bc3c50698fc5a79b1d9916615c11851 (diff)
downloadEssentials-ed06b29dd75e1abbfb39103c4bf8a8b933aa2d26.tar
Essentials-ed06b29dd75e1abbfb39103c4bf8a8b933aa2d26.tar.gz
Essentials-ed06b29dd75e1abbfb39103c4bf8a8b933aa2d26.tar.lz
Essentials-ed06b29dd75e1abbfb39103c4bf8a8b933aa2d26.tar.xz
Essentials-ed06b29dd75e1abbfb39103c4bf8a8b933aa2d26.zip
GroupManager fix (The commands didn't work)
This is the last fix for GroupManager, we will switch to Permissions 3 soon.
Diffstat (limited to 'EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions')
-rw-r--r--EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java b/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java
index 18da0cd56..e26c10711 100644
--- a/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java
+++ b/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java
@@ -9,6 +9,7 @@ import java.io.File;
import java.util.Map;
import org.anjocaido.groupmanager.GroupManager;
import org.bukkit.entity.Player;
+import org.bukkit.plugin.Plugin;
import org.bukkit.util.config.Configuration;
/**
@@ -425,4 +426,9 @@ public class NijikoPermissionsProxy extends Control {
return plugin.getWorldsHolder().getDefaultWorld().getPermissionsHandler().getPermissionDouble(name,permission);
}
+ public void setGM(Plugin p)
+ {
+ this.plugin = (GroupManager)p;
+ }
+
}