Merge origin/master
This commit is contained in:
@@ -112,12 +112,12 @@ public class FlowerPots {
|
|||||||
loc.getWorld().playEffect(loc, Effect.FIREWORKS_SPARK, 4);
|
loc.getWorld().playEffect(loc, Effect.FIREWORKS_SPARK, 4);
|
||||||
}
|
}
|
||||||
P.playSound(loc, Sound.LEVEL_UP, 1, (float) 1.5);
|
P.playSound(loc, Sound.LEVEL_UP, 1, (float) 1.5);
|
||||||
ResultSet rs = AnuraCore.getSql().querySelect("SELECT url, name, money FROM corePots WHERE id = '" + pot + "'");
|
ResultSet rs = AnuraCore.getSql().querySelect("SELECT id, url, name, money FROM corePots WHERE id = '" + pot + "'");
|
||||||
rs.first();
|
rs.first();
|
||||||
Money.payMoney(P, rs.getInt("money"));
|
Money.payMoney(P, rs.getInt("money"));
|
||||||
P.sendMessage(ChatColor.RED + "---------- " + ChatColor.YELLOW + "Achievement" + ChatColor.RED + " ----------");
|
P.sendMessage(ChatColor.RED + "---------- " + ChatColor.YELLOW + "Achievement" + ChatColor.RED + " ----------");
|
||||||
P.sendMessage(ChatColor.BLUE + rs.getString("name"));
|
P.sendMessage(ChatColor.BLUE + Core.getl(rs.getString("name"), Core.getPlayerLang(P)));
|
||||||
P.sendMessage("" + ChatColor.GOLD + ChatColor.UNDERLINE + rs.getString("url"));
|
P.sendMessage("" + ChatColor.GOLD + ChatColor.UNDERLINE + "http://mc-anura.de/index.php?location=achievement_" + rs.getString("id"));
|
||||||
P.sendMessage("");
|
P.sendMessage("");
|
||||||
P.sendMessage(ChatColor.RED + "---------- " + ChatColor.YELLOW + "Achievement" + ChatColor.RED + " ----------");
|
P.sendMessage(ChatColor.RED + "---------- " + ChatColor.YELLOW + "Achievement" + ChatColor.RED + " ----------");
|
||||||
} else if (getPotWaitTime(pot) != -1 && foundCache.containsKey(P) && foundCache.get(P).containsKey(pot) && foundTimestamp.containsKey(P) && foundTimestamp.get(P).containsKey(pot)) {
|
} else if (getPotWaitTime(pot) != -1 && foundCache.containsKey(P) && foundCache.get(P).containsKey(pot) && foundTimestamp.containsKey(P) && foundTimestamp.get(P).containsKey(pot)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user