mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 19:24:10 +01:00
Added getPlayer method to SignChangeEvent
By: Timberjaw <timberjaw@gmail.com>
This commit is contained in:
parent
e30e2d1364
commit
66761d2d4d
1 changed files with 10 additions and 2 deletions
|
@ -18,13 +18,21 @@ public class SignChangeEvent extends BlockEvent implements Cancellable {
|
|||
this.lines = theLines;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the player for this event
|
||||
*
|
||||
* @return Player player
|
||||
*/
|
||||
public Player getPlayer() {
|
||||
return player;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all of the text lines from this event
|
||||
*
|
||||
* @return String[] of the event's text lines
|
||||
*/
|
||||
public String[] getLines()
|
||||
{
|
||||
public String[] getLines() {
|
||||
return lines;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue