Skip to content

Commit f360ebc

Browse files
committed
Update license year
1 parent 3806081 commit f360ebc

11 files changed

Lines changed: 15 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fi
4242
4343
- name: Gradle Publish
44-
if: "${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/version/') }}"
44+
if: "${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/feature/server-links' || startsWith(github.ref, 'refs/heads/version/') }}"
4545
run: ./gradlew publish
4646

4747
- name: Gradle Release

api/src/main/java/com/lunarclient/apollo/common/icon/ResourceLocationIcon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

api/src/main/java/com/lunarclient/apollo/module/serverlink/ServerLink.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

api/src/main/java/com/lunarclient/apollo/module/serverlink/ServerLinkModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

common/src/main/java/com/lunarclient/apollo/module/serverlink/ServerLinkModuleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

example/bukkit/api/src/main/java/com/lunarclient/apollo/example/api/listener/ApolloPlayerApiListener.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.lunarclient.apollo.example.ApolloExamplePlugin;
3131
import com.lunarclient.apollo.example.api.module.TeamApiExample;
3232
import com.lunarclient.apollo.example.module.impl.CooldownExample;
33+
import com.lunarclient.apollo.example.module.impl.ServerLinkExample;
3334
import com.lunarclient.apollo.player.ApolloPlayer;
3435
import org.bukkit.entity.Player;
3536

@@ -66,6 +67,10 @@ private void onApolloRegister(ApolloRegisterPlayerEvent event) {
6667
cooldownExample.displayCooldownItemExample(player);
6768
cooldownExample.displayCooldownWithStyleExample(player);
6869
cooldownExample.displayCooldownResourceExample(player);
70+
71+
ServerLinkExample serverLinkExample = this.example.getServerLinkExample();
72+
serverLinkExample.overrideServerLinkResourceExample(player);
73+
serverLinkExample.addServerLinkExample(player);
6974
}
7075

7176
}

example/bukkit/api/src/main/java/com/lunarclient/apollo/example/api/module/ServerLinkApiExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

example/bukkit/common/src/main/java/com/lunarclient/apollo/example/command/ServerLinkCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

example/bukkit/common/src/main/java/com/lunarclient/apollo/example/module/impl/ServerLinkExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

example/bukkit/json/src/main/java/com/lunarclient/apollo/example/json/module/ServerLinkJsonExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of Apollo, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 Moonsworth
4+
* Copyright (c) 2026 Moonsworth
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)