Added getPlayer method to SignChangeEvent
This commit is contained in:
parent
0f93997077
commit
524515cb83
@ -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…
x
Reference in New Issue
Block a user