Advertisement
GreenPie11

Untitled

Jul 4th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public String getAchievements() {
  2. String highestIron = null;
  3. for(String ironP : ironOreAchievement.keySet()) {
  4. if (highestIron == null) {
  5. highestIron = ironP;
  6. }
  7. if(ironOreAchievement.get(ironP) > ironOreAchievement.get(highestIron)) {
  8. highestIron = ironP;
  9. }
  10. } return highestIron;
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement