Skip to content

Commit

Permalink
Add lombok
Browse files Browse the repository at this point in the history
  • Loading branch information
voruti committed Jul 13, 2023
1 parent 53a1ed2 commit e2d96b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'eclipse'
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.7"
id "xyz.jpenilla.run-velocity" version "2.1.0"
id "io.freefair.lombok" version "8.1.0"
}

group = 'voruti'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.api.proxy.ProxyServer;
import com.velocitypowered.api.proxy.server.ServerPing;
import lombok.AccessLevel;
import lombok.experimental.FieldDefaults;
import org.slf4j.Logger;

import java.util.Collection;
Expand All @@ -21,13 +23,14 @@
url = "https://github.com/voruti/VelocityPlayerListQuery",
authors = {"voruti"}
)
@FieldDefaults(level = AccessLevel.PRIVATE)
public class VelocityPlayerListQuery {

@Inject
private Logger logger;
Logger logger;

@Inject
private ProxyServer server;
ProxyServer server;


@Subscribe
Expand Down

0 comments on commit e2d96b2

Please sign in to comment.