forked from TuxCoding/FastLogin
Only build for main branches to fix duplicate actions with dependabot
This commit is contained in:
10
.github/workflows/maven.yml
vendored
10
.github/workflows/maven.yml
vendored
@ -4,11 +4,15 @@
|
|||||||
# Human readable name in the actions tab
|
# Human readable name in the actions tab
|
||||||
name: Java CI
|
name: Java CI
|
||||||
|
|
||||||
# Build on every push and pull request regardless of the branch
|
# Build on every pull request regardless of the branch
|
||||||
# Wiki: https://help.github.com/en/actions/reference/events-that-trigger-workflows
|
# Wiki: https://help.github.com/en/actions/reference/events-that-trigger-workflows
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
- pull_request
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# job id
|
# job id
|
||||||
|
@ -74,7 +74,8 @@ public class NameCheckTask extends JoinManagement<Player, CommandSender, Protoco
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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);
|
BukkitFastLoginPreLoginEvent event = new BukkitFastLoginPreLoginEvent(username, source, profile);
|
||||||
plugin.getServer().getPluginManager().callEvent(event);
|
plugin.getServer().getPluginManager().callEvent(event);
|
||||||
return event;
|
return event;
|
||||||
|
Reference in New Issue
Block a user