Skip to content

Commit 7594c45

Browse files
fix(punishment): use package-private main to match project convention
Java 25 doesn't require public on main methods. Other services like FriendService use package-private, so match the existing pattern.
1 parent 6ebaf9b commit 7594c45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service.punishment/src/main/java/net/swofty/service/punishment/PunishmentService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public class PunishmentService implements SkyBlockService {
1212

13-
public static void main(String[] args) {
13+
static void main(String[] args) {
1414
String mongoUri = ConfigProvider.settings().getMongodb();
1515
new PunishmentDatabase(null).connect(mongoUri);
1616
SkyBlockService.init(new PunishmentService());

0 commit comments

Comments
 (0)