mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 08:14:25 +00:00
Rename EventFactory --> EventDispatcher
This commit is contained in:
20 files changed
+98
-98
No files matched your search
+2
-2
@@ -88,7 +88,7 @@ public class SpongeConnectionListener extends AbstractConnectionListener {
|
||||
try {
|
||||
User user = loadUser(profile.getUniqueId(), username);
|
||||
recordConnection(profile.getUniqueId());
|
||||
this.plugin.getEventFactory().handlePlayerLoginProcess(profile.getUniqueId(), username, user);
|
||||
this.plugin.getEventDispatcher().dispatchPlayerLoginProcess(profile.getUniqueId(), username, user);
|
||||
} catch (Exception ex) {
|
||||
this.plugin.getLogger().severe("Exception occurred whilst loading data for " + profile.getUniqueId() + " - " + profile.getName());
|
||||
ex.printStackTrace();
|
||||
@@ -99,7 +99,7 @@ public class SpongeConnectionListener extends AbstractConnectionListener {
|
||||
e.setMessageCancelled(false);
|
||||
//noinspection deprecation
|
||||
e.setMessage(TextSerializers.LEGACY_FORMATTING_CODE.deserialize(Message.LOADING_DATABASE_ERROR.asString(this.plugin.getLocaleManager())));
|
||||
this.plugin.getEventFactory().handlePlayerLoginProcess(profile.getUniqueId(), username, null);
|
||||
this.plugin.getEventDispatcher().dispatchPlayerLoginProcess(profile.getUniqueId(), username, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user