Removed old FIXME and added a new TODO

This commit is contained in:
juanmuscaria
2021-09-15 19:57:19 -03:00
parent fc226e1010
commit b6dfa4802a
3 changed files with 1 additions and 2 deletions

View File

@ -61,6 +61,7 @@ import java.util.List;
import java.util.UUID;
import java.util.concurrent.ConcurrentMap;
//TODO: Support for floodgate
@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"})
public class FastLoginVelocity implements PlatformPlugin<CommandSource> {

View File

@ -70,7 +70,6 @@ public class AsyncPremiumCheck extends JoinManagement<Player, CommandSource, Vel
@Override
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, VelocityLoginSource source, StoredProfile profile) {
//FIXME: Am I doing it right?
VelocityFastLoginPreLoginEvent event = new VelocityFastLoginPreLoginEvent(username, source, profile);
try {
return plugin.getProxy().getEventManager().fire(event).get();

View File

@ -89,7 +89,6 @@ public class ForceLoginTask
@Override
public FastLoginAutoLoginEvent callFastLoginAutoLoginEvent(LoginSession session, StoredProfile profile) {
//FIXME: Am I doing it right?
VelocityFastLoginAutoLoginEvent event = new VelocityFastLoginAutoLoginEvent(session, profile);
try {
return core.getPlugin().getProxy().getEventManager().fire(event).get();