Make some fields private.

This commit is contained in:
filoghost 2014-11-04 14:45:09 +01:00
parent 7c46e6019a
commit 556ac7a67d
4 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);