forked from PnsDev/SignAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(lombok): Say goodbye to lombok.
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,38 @@ | ||
package dev.pns.signapi; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
import lombok.Setter; | ||
import org.bukkit.block.Block; | ||
import org.bukkit.entity.Player; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public class SignTask { | ||
private final Player player; | ||
private final SignGUI.onClose onClose; | ||
private final Block block; | ||
@Setter | ||
private String[] lines; | ||
|
||
public SignTask(Player player, SignGUI.onClose onClose, Block block) { | ||
this.player = player; | ||
this.onClose = onClose; | ||
this.block = block; | ||
} | ||
|
||
public Player getPlayer() { | ||
return player; | ||
} | ||
|
||
public SignGUI.onClose getOnClose() { | ||
return onClose; | ||
} | ||
|
||
public Block getBlock() { | ||
return block; | ||
} | ||
|
||
public String[] getLines() { | ||
return lines; | ||
} | ||
|
||
public void setLines(String[] lines) { | ||
this.lines = lines; | ||
} | ||
|
||
} |