Only build for main branches to fix duplicate actions with dependabot

This commit is contained in:
games647 committed 2021-06-29 12:55:37 +02:00
1 parent ccdc455ce9
commit cde045d6fd
2 files changed
+35 -30

No files matched your search

@@ -74,7 +74,8 @@ public class NameCheckTask extends JoinManagement<Player, CommandSender, Protoco
}
@Override
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, ProtocolLibLoginSource source, StoredProfile profile) {
public FastLoginPreLoginEvent callFastLoginPreLoginEvent(String username, ProtocolLibLoginSource source,
StoredProfile profile) {
BukkitFastLoginPreLoginEvent event = new BukkitFastLoginPreLoginEvent(username, source, profile);
plugin.getServer().getPluginManager().callEvent(event);
return event;