Buggy code:
boolean afk = false ; long lastaction = System . currentTimeMillis ( ) ; public UPlayer ( OfflinePlayer p ) { } public UPlayer ( UUID uuid ) { } private void save ( ) { } public OfflinePlayer getPlayer ( ) { } public Player getOnlinePlayer ( ) { } public long getLastConnectMillis ( ) { } public void updateLastConnectMillis ( ) { } public void updateLastConnectMillis ( Long millis ) { } public Config getPlayerConfig ( ) { } public File getPlayerFile ( ) { } public void setLastLocation ( ) { } public Location getLastLocation ( ) { } public void setLastLocation ( Location loc ) { } public boolean isBanned ( ) { } public Long getBanTime ( ) { } public Long getBanTimeLeft ( ) { } public String getBanReason ( ) { } public void unban ( ) { } public void ban ( Long time , String reason ) { } public void ban ( Long time ) { } public void ban ( String reason ) { } public void ban ( ) { } public boolean isDeaf ( ) { } public void setDeaf ( Boolean deaf ) { } public Long getDeafTime ( ) { } public Long getDeafTimeLeft ( ) { } public void setDeaf ( Boolean dea , Long time ) { } public boolean isFrozen ( ) { } public void setFrozen ( Boolean fr ) { } public Long getFrozenTime ( ) { } public Long getFrozenTimeLeft ( ) { } public void setFrozen ( Boolean fr , Long time ) { } public boolean isGod ( ) { } public void setGod ( Boolean fr ) { } public Long getGodTime ( ) { } public Long getGodTimeLeft ( ) { } public void setGod ( Boolean fr , Long time ) { } public HashMap < String , Location > getHomes ( ) { } public void setHomes ( HashMap < String , Location > nh ) { } public ArrayList < String > getHomeNames ( ) { } public void addHome ( String s , Location l ) { } public void removeHome ( String s ) { } public Location getHome ( String s ) { } public void clearHomes ( ) { } public boolean isInOnlineInventory ( ) { } public void setInOnlineInventory ( Boolean b ) { } public boolean isInOfflineInventory ( ) { } public void setInOfflineInventory ( Boolean b ) { } public void updateLastInventory ( ) { } public Inventory getLastInventory ( ) { } public void jail ( ) { } public void jail ( String n ) { } public void jail ( Long l ) { } public void jail ( String n , Long l ) { } public void unjail ( ) { } public boolean isJailed ( ) { } public Long getJailTime ( ) { } public Long getJailTimeLeft ( ) { } public String getJail ( ) { } public Player getReply ( ) { } public void setReply ( Player pl ) { } public boolean isSpy ( ) { } public void setSpy ( Boolean sp ) { } public boolean isMuted ( ) { } public void setMuted ( Boolean fr ) { } public Long getMuteTime ( ) { } public Long getMuteTimeLeft ( ) { } public void setMuted ( Boolean fr , Long time ) { } public String getDisplayName ( ) { } public String getNick ( ) { if ( ( nickname ) != null ) { return nickname ; } Config data = getPlayerConfig ( ) ; if ( ( data . get ( "nick" ) ) == null ) { return null ; } String nick = ChatColor . translateAlternateColorCodes ( '&' , data . getString ( "nick" ) ) ; if ( getPlayer ( ) . isOnline ( ) ) { <START_BUG> getPlayer ( ) . getPlayer ( ) . setDisplayName ( nickname . replace ( "&y" , "" ) ) ; <END_BUG> } if ( ( getPlayer ( ) . isOnline ( ) ) && ( r . perm ( ( ( CommandSender ) ( getPlayer ( ) ) ) , "uc.chat.rainbow" , false , false ) ) ) { nick = nick . replaceAll ( "&y" , ( ( r . getRandomChatColor ( ) ) + "" ) ) ; } nickname = nick + ( ChatColor . RESET ) ; save ( ) ; return nick + ( ChatColor . RESET ) ; } public void setNick ( String str ) { } public void clearAllPowertools ( ) { } public void clearPowertool ( Material mat ) { } public List < String > getPowertools ( Material mat ) { } public boolean hasPowertools ( ) { } public boolean hasPowertool ( Material mat ) { } public void setPowertool ( Material mat , List < String > cmds ) { } public void addPowertool ( Material mat , String c ) { } public void removePowertool ( Material mat , String c ) { } public boolean isInRecipeView ( ) { } public void setInRecipeView ( Boolean b ) { } public boolean isInTeleportMenu ( ) { } public void setInTeleportMenu ( Boolean b ) { } public boolean isInCommandEnchantingtable ( ) { } public void setInCommandEnchantingtable ( Boolean b ) { } public boolean hasTeleportEnabled ( ) { } public void setTeleportEnabled ( Boolean tpe ) { } public boolean isVanish ( ) { } public void setVanish ( Boolean fr ) { } public Long getVanishTime ( ) { } public Long getVanishTimeLeft ( ) { } public void setVanish ( Boolean fr , Long time ) { } public boolean isAfk ( ) { } public void setAfk ( boolean news ) { } public long getLastActivity ( ) { } public void setLastActivity ( Long last ) { } public void updateLastActivity ( ) { } }

Fix:
getPlayer ( ) . getPlayer ( ) . setDisplayName ( nick . replace ( "&y" , "" ) ) ;