mirror of
https://github.com/JonasunderscoreJones/BetterConsoleMC.git
synced 2025-10-25 22:49:17 +02:00
Added lombok getters
Cleaned up some lines by using lombok.Getter
This commit is contained in:
parent
f4c6c6d22a
commit
3c73ed16a5
2 changed files with 7 additions and 29 deletions
|
|
@ -1,5 +1,8 @@
|
|||
package me.jonasjones.betterconsolemc.util;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class CommandPreRegistry { //TODO: Add timeout before command can be ran again (unixtimestamp)
|
||||
private Constants.CmdMode commandmode;
|
||||
private String command;
|
||||
|
|
@ -18,32 +21,4 @@ public class CommandPreRegistry { //TODO: Add timeout before command can be ran
|
|||
this.execRerunTimeout = execRerunTimeout;
|
||||
this.broadcastToOp = broadcastToOp;
|
||||
}
|
||||
|
||||
public Constants.CmdMode getCommandmode() {
|
||||
return this.commandmode;
|
||||
}
|
||||
|
||||
public String getCommand() {
|
||||
return this.command;
|
||||
}
|
||||
|
||||
public int getPermissionLevel() {
|
||||
return this.permissionLevel;
|
||||
}
|
||||
|
||||
public int getExecTimeout() {
|
||||
return this.execTimeout;
|
||||
}
|
||||
|
||||
public String getIngamecommand() {
|
||||
return this.ingamecommand;
|
||||
}
|
||||
|
||||
public int getExecRerunTimeout() {
|
||||
return this.execRerunTimeout;
|
||||
}
|
||||
|
||||
public boolean doBroadcastToOp() {
|
||||
return this.broadcastToOp;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue