File tree Expand file tree Collapse file tree 2 files changed +28
-13
lines changed
src/main/java/dev/pns/signapi Expand file tree Collapse file tree 2 files changed +28
-13
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >dev.pns</groupId >
8
8
<artifactId >SignAPI</artifactId >
9
- <version >1.1 -SNAPSHOT</version >
9
+ <version >1.2 -SNAPSHOT</version >
10
10
<packaging >jar</packaging >
11
11
12
12
<name >SignAPI</name >
70
70
<version >4.7.0</version >
71
71
<scope >provided</scope >
72
72
</dependency >
73
- <dependency >
74
- <groupId >org.projectlombok</groupId >
75
- <artifactId >lombok</artifactId >
76
- <version >RELEASE</version >
77
- <scope >compile</scope >
78
- </dependency >
79
73
</dependencies >
80
74
</project >
Original file line number Diff line number Diff line change 1
1
package dev .pns .signapi ;
2
2
3
- import lombok .Getter ;
4
- import lombok .RequiredArgsConstructor ;
5
- import lombok .Setter ;
6
3
import org .bukkit .block .Block ;
7
4
import org .bukkit .entity .Player ;
8
5
9
- @ Getter
10
- @ RequiredArgsConstructor
11
6
public class SignTask {
12
7
private final Player player ;
13
8
private final SignGUI .onClose onClose ;
14
9
private final Block block ;
15
- @ Setter
16
10
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
+
17
38
}
You can’t perform that action at this time.
0 commit comments