Esempio n. 1
0
 protected ACPlayer(final String name) {
   this.name = name;
   final int prime = 41;
   int result = 7;
   result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
   hashCode = result;
   handler = ACPluginManager.getServer().getPlayer(this.name);
 }
Esempio n. 2
0
 /** @param isOnline the isOnline to set */
 void setOnline(final boolean isOnline) {
   this.online = isOnline;
   if (!this.online) {
     this.handler = null;
   } else if (handler == null) {
     this.handler = ACPluginManager.getServer().getPlayer(this.name);
   }
 }