turt2live

Untitled

Jul 5th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1.     public XMailEntity(String name, EconomyAccount econ){
  2.         inbox = new Inbox(this);
  3.         read = new ReadMail(this);
  4.         sent = new Sent(this);
  5.         this.name = name;
  6.         this.econ = econ;
  7.         settings = new PlayerSettings();
  8.         if(shouldGetSettings()){
  9.             plugin.getMailServer().addRequest(new Request(RequestType.PLAYER_SETTINGS, new ArrayList<Variable>() {
  10.                 private static final long serialVersionUID = 1L;
  11.                 {
  12.                     add(new Variable("username", getName()));
  13.                 }
  14.             }, this, null));
  15.         }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment