Skip to content

Commit c6d624e

Browse files
authored
Merge pull request #1 from ArtformGames/main
style(lombok): Say goodbye to lombok.
2 parents c5b8017 + 402bae8 commit c6d624e

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>dev.pns</groupId>
88
<artifactId>SignAPI</artifactId>
9-
<version>1.1-SNAPSHOT</version>
9+
<version>1.2-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SignAPI</name>
@@ -70,11 +70,5 @@
7070
<version>4.7.0</version>
7171
<scope>provided</scope>
7272
</dependency>
73-
<dependency>
74-
<groupId>org.projectlombok</groupId>
75-
<artifactId>lombok</artifactId>
76-
<version>RELEASE</version>
77-
<scope>compile</scope>
78-
</dependency>
7973
</dependencies>
8074
</project>
Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,38 @@
11
package dev.pns.signapi;
22

3-
import lombok.Getter;
4-
import lombok.RequiredArgsConstructor;
5-
import lombok.Setter;
63
import org.bukkit.block.Block;
74
import org.bukkit.entity.Player;
85

9-
@Getter
10-
@RequiredArgsConstructor
116
public class SignTask {
127
private final Player player;
138
private final SignGUI.onClose onClose;
149
private final Block block;
15-
@Setter
1610
private String[] lines;
11+
12+
public SignTask(Player player, SignGUI.onClose onClose, Block block) {
13+
this.player = player;
14+
this.onClose = onClose;
15+
this.block = block;
16+
}
17+
18+
public Player getPlayer() {
19+
return player;
20+
}
21+
22+
public SignGUI.onClose getOnClose() {
23+
return onClose;
24+
}
25+
26+
public Block getBlock() {
27+
return block;
28+
}
29+
30+
public String[] getLines() {
31+
return lines;
32+
}
33+
34+
public void setLines(String[] lines) {
35+
this.lines = lines;
36+
}
37+
1738
}

0 commit comments

Comments
 (0)