Guest User

Untitled

a guest
Nov 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. for(String m_clans : plugin.getClans() ){
  2.     // for each property in the static list above
  3.     plugin.log.info("Writing for " + m_clans);
  4.     for(String prop : CLAN_DEFAULTS.keySet()){
  5.         plugin.log.info("Writing for " + prop);
  6.         if (clans.getProperty("clans." + m_clans + prop) == null) {
  7.             clans.setProperty("clans." + m_clans + prop, CLAN_DEFAULTS.get("clans." + m_clans + prop));
  8.                     }
  9.                 }
  10.             }
Add Comment
Please, Sign In to add comment