Disable lv30 buff selection reminder messages for now.

This commit is contained in:
sigonasr2 2014-02-16 05:52:05 -07:00
parent aa4167f61a
commit fdb753b9c7
2 changed files with 3 additions and 2 deletions

View File

@ -6505,6 +6505,7 @@ public void payDay(int time)
public void notifyBuffMessages(final Player p, int tick_delay) {
//Same as notifyBuffMessages(), but waits a number of ticks before displaying it.
//See which messages we have to display.
/* DISABLED for now.
int total_tick_delay=tick_delay;
if (getAccountsConfig().getInt(p.getName().toLowerCase()+".jobs.job1lv")>=30 && getAccountsConfig().getInt(p.getName().toLowerCase()+".jobs.job1_30")==0) {
//Have not selected first job's buff.
@ -6583,7 +6584,7 @@ public void payDay(int time)
p.sendMessage(ChatColor.ITALIC+"Type "+ChatColor.RESET+ChatColor.YELLOW+"/jobs ultimate <job>"+ChatColor.RESET+ChatColor.ITALIC+" replacing it with the ultimate job you want!");
}
},total_tick_delay+=tick_delay);
}
}*/
}
/**

View File

@ -632,7 +632,7 @@ public String convertToItemName(String val) {
Location CenterPoint = new Location(p.getWorld(),1627,67,-268); //Center of Twoside.
int iterations=100*(Integer.valueOf(args[1])+50);
List<Integer> storedy = new ArrayList<Integer>();
for (int MASTER_i=-Integer.valueOf(args[1]);MASTER_i<Integer.valueOf(args[1])+1;MASTER_i++) {
for (int MASTER_i=-4;MASTER_i<Integer.valueOf(args[1])+1;MASTER_i++) {
p.getWorld().save();
for (int MASTER_j=-Integer.valueOf(args[2]);MASTER_j<Integer.valueOf(args[2])+1;MASTER_j++) {
storedy.clear();