summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2014-07-12 16:03:36 +1000
committerKHobbits <rob@khobbits.co.uk>2014-07-19 20:07:50 +0100
commit465041b98b5283cfff231473d457b11f13766a76 (patch)
treedeee438a807191ab4cd4795dab7326c53623d71c /EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
parented56afda26107837ce63dac63554ad8dc0e7bbcc (diff)
downloadEssentials-465041b98b5283cfff231473d457b11f13766a76.tar
Essentials-465041b98b5283cfff231473d457b11f13766a76.tar.gz
Essentials-465041b98b5283cfff231473d457b11f13766a76.tar.lz
Essentials-465041b98b5283cfff231473d457b11f13766a76.tar.xz
Essentials-465041b98b5283cfff231473d457b11f13766a76.zip
Optimize player / user iteration.
* Add a method for backwards compatability with unmapped code. * Convert all getOnlinePlayers() calls to use this method, part of the IEssentials interface * Add a new method getOnlineUsers() Ljava/lang/Iterable; * Convert appropriate calls to use this method * Update Bukkit to #1945 * Update CraftBukkit to #3103
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
index ab7cf986c..f1a2cd21d 100644
--- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
+++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
@@ -149,4 +149,10 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
// Ignore exceptions
}
}
+
+ @Override
+ public IEssentials getEss()
+ {
+ return ess;
+ }
}