mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Removed old FIXME and added a new TODO
This commit is contained in:
@ -61,6 +61,7 @@ import java.util.List;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.concurrent.ConcurrentMap;
|
import java.util.concurrent.ConcurrentMap;
|
||||||
|
|
||||||
|
//TODO: Support for floodgate
|
||||||
@Plugin(id = PomData.NAME, name = PomData.DISPLAY_NAME, description = PomData.DESCRIPTION, url = PomData.URL,
|
@Plugin(id = PomData.NAME, name = PomData.DISPLAY_NAME, description = PomData.DESCRIPTION, url = PomData.URL,
|
||||||
version = PomData.VERSION, authors = {"games647", "https://github.com/games647/FastLogin/graphs/contributors"})
|
version = PomData.VERSION, authors = {"games647", "https://github.com/games647/FastLogin/graphs/contributors"})
|
||||||
public class FastLoginVelocity implements PlatformPlugin<CommandSource> {
|
public class FastLoginVelocity implements PlatformPlugin<CommandSource> {
|
||||||
|
@ -70,7 +70,6 @@ public class AsyncPremiumCheck extends JoinManagement<Player, CommandSource, Vel
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, VelocityLoginSource source, StoredProfile profile) {
|
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, VelocityLoginSource source, StoredProfile profile) {
|
||||||
//FIXME: Am I doing it right?
|
|
||||||
VelocityFastLoginPreLoginEvent event = new VelocityFastLoginPreLoginEvent(username, source, profile);
|
VelocityFastLoginPreLoginEvent event = new VelocityFastLoginPreLoginEvent(username, source, profile);
|
||||||
try {
|
try {
|
||||||
return plugin.getProxy().getEventManager().fire(event).get();
|
return plugin.getProxy().getEventManager().fire(event).get();
|
||||||
|
@ -89,7 +89,6 @@ public class ForceLoginTask
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FastLoginAutoLoginEvent callFastLoginAutoLoginEvent(LoginSession session, StoredProfile profile) {
|
public FastLoginAutoLoginEvent callFastLoginAutoLoginEvent(LoginSession session, StoredProfile profile) {
|
||||||
//FIXME: Am I doing it right?
|
|
||||||
VelocityFastLoginAutoLoginEvent event = new VelocityFastLoginAutoLoginEvent(session, profile);
|
VelocityFastLoginAutoLoginEvent event = new VelocityFastLoginAutoLoginEvent(session, profile);
|
||||||
try {
|
try {
|
||||||
return core.getPlugin().getProxy().getEventManager().fire(event).get();
|
return core.getPlugin().getProxy().getEventManager().fire(event).get();
|
||||||
|
Reference in New Issue
Block a user