use of com.github.games647.fastlogin.bukkit.event.BukkitFastLoginPreLoginEvent in project FastLogin by games647.
the class NameCheckTask method callFastLoginPreLoginEvent.
@Override
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, ProtocolLibLoginSource source, StoredProfile profile) {
BukkitFastLoginPreLoginEvent event = new BukkitFastLoginPreLoginEvent(username, source, profile);
plugin.getServer().getPluginManager().callEvent(event);
return event;
}
use of com.github.games647.fastlogin.bukkit.event.BukkitFastLoginPreLoginEvent in project FastLogin by games647.
the class ProtocolSupportListener method callFastLoginPreLoginEvent.
@Override
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, ProtocolLoginSource source, StoredProfile profile) {
BukkitFastLoginPreLoginEvent event = new BukkitFastLoginPreLoginEvent(username, source, profile);
plugin.getServer().getPluginManager().callEvent(event);
return event;
}
Aggregations