summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2011-09-24 19:11:59 +0100
committerElgarL <ElgarL@palmergames.com>2011-09-24 19:11:59 +0100
commita2ca381bbd2f0621d7da444fceac1d7c720b34ac (patch)
tree7dc2a18788b6977cf2efb80126d7a6c625ac34a2
parent32f5a31ea53d119d301a1fb0871c347ac27088cf (diff)
downloadEssentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar
Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.gz
Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.lz
Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.xz
Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.zip
Forgot to push task
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/Tasks/BukkitPermsUpdateTask.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/Tasks/BukkitPermsUpdateTask.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/Tasks/BukkitPermsUpdateTask.java
new file mode 100644
index 000000000..27951112d
--- /dev/null
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/Tasks/BukkitPermsUpdateTask.java
@@ -0,0 +1,27 @@
+package org.anjocaido.groupmanager.Tasks;
+
+import org.anjocaido.groupmanager.GroupManager;
+
+/*
+ *
+ * Created by ElgarL
+ *
+ */
+
+public class BukkitPermsUpdateTask implements Runnable {
+
+ public BukkitPermsUpdateTask() {
+ super();
+ }
+
+ @Override
+ public void run() {
+ // Signal loaded and update BukkitPermissions.
+ GroupManager.setLoaded(true);
+ GroupManager.BukkitPermissions.updateAllPlayers();
+
+ GroupManager.logger.info("Bukkit Permissions Updated!");
+
+ }
+
+} \ No newline at end of file