diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-09-24 19:11:59 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-09-24 19:11:59 +0100 |
commit | a2ca381bbd2f0621d7da444fceac1d7c720b34ac (patch) | |
tree | 7dc2a18788b6977cf2efb80126d7a6c625ac34a2 /EssentialsGroupManager/src | |
parent | 32f5a31ea53d119d301a1fb0871c347ac27088cf (diff) | |
download | Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.gz Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.lz Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.tar.xz Essentials-a2ca381bbd2f0621d7da444fceac1d7c720b34ac.zip |
Forgot to push task
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/Tasks/BukkitPermsUpdateTask.java | 27 |
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 |