mirror of
https://github.com/filoghost/ChestCommands.git
synced 2025-02-19 04:51:23 +01:00
Make some fields private.
This commit is contained in:
parent
7c46e6019a
commit
556ac7a67d
@ -8,8 +8,8 @@ import com.gmail.filoghost.chestcommands.util.Utils;
|
||||
|
||||
public class DragonBarIconCommand extends IconCommand {
|
||||
|
||||
String message;
|
||||
int seconds;
|
||||
private String message;
|
||||
private int seconds;
|
||||
|
||||
public DragonBarIconCommand(String command) {
|
||||
super(command);
|
||||
|
@ -10,8 +10,8 @@ import com.gmail.filoghost.chestcommands.util.ItemStackReader;
|
||||
|
||||
public class GiveIconCommand extends IconCommand {
|
||||
|
||||
ItemStack itemToGive;
|
||||
String errorMessage;
|
||||
private ItemStack itemToGive;
|
||||
private String errorMessage;
|
||||
|
||||
public GiveIconCommand(String command) {
|
||||
super(command);
|
||||
|
@ -9,8 +9,8 @@ import com.gmail.filoghost.chestcommands.util.Utils;
|
||||
|
||||
public class GiveMoneyIconCommand extends IconCommand {
|
||||
|
||||
double moneyToGive;
|
||||
String errorMessage;
|
||||
private double moneyToGive;
|
||||
private String errorMessage;
|
||||
|
||||
public GiveMoneyIconCommand(String command) {
|
||||
super(command);
|
||||
|
@ -9,10 +9,10 @@ import com.gmail.filoghost.chestcommands.util.Utils;
|
||||
|
||||
public class SoundIconCommand extends IconCommand {
|
||||
|
||||
Sound sound;
|
||||
float pitch;
|
||||
float volume;
|
||||
String errorMessage;
|
||||
private Sound sound;
|
||||
private float pitch;
|
||||
private float volume;
|
||||
private String errorMessage;
|
||||
|
||||
public SoundIconCommand(String command) {
|
||||
super(command);
|
||||
|
Loading…
Reference in New Issue
Block a user