Buggy code:
public class Helper { public static final String FORMAT_WITH_DELIMITER = "((?<=§[0123456789AaBbCcDdEeFfKkLlMmNnOoRr])|(?=§[0123456789AaBbCcDdEeFfKkLlMmNnOoRr]))" ; public static final Pattern DOUBLE_QUOTES = Pattern . compile ( "\"(.*)\"" ) ; private static GameProfileRepository profileRepo ; private static HashMap < String , GameProfile > nameToProfileMap = new HashMap < > ( ) ; public static String formatColors ( String message ) { } public static void msg ( String message ) { } public static String formatText ( String format , Donation donation , Reward reward ) { if ( format . contains ( "$name" ) ) format = format . replace ( "$name" , donation . username ) ; if ( format . contains ( "$uuid" ) ) format = format . replace ( "$uuid" , Helper . getGameProfileFromName ( donation . username ) . getId ( ) . toString ( ) ) ; if ( format . contains ( "$amount" ) ) format = format . replace ( "$amount" , ( ( donation . amount ) + "" ) ) ; if ( format . contains ( "$note" ) ) format = format . replace ( "$note" , donation . note ) ; if ( format . contains ( "$streamer" ) ) format = format . replace ( "$streamer" , donation . target ) ; if ( format . contains ( "$streameruuid" ) ) <START_BUG> format = format . replace ( "$streameruuid" , MinecraftServer . getServer ( ) . getConfigurationManager ( ) . func_152612_a ( donation . target ) . getUniqueID ( ) . toString ( ) ) ; <END_BUG> if ( reward != null ) { if ( format . contains ( "$reward_message" ) ) format = format . replace ( "$reward_message" , reward . getMessage ( ) ) ; if ( format . contains ( "$reward_name" ) ) format = format . replace ( "$reward_name" , reward . getName ( ) ) ; if ( format . contains ( "$reward_amount" ) ) format = format . replace ( "$reward_amount" , ( ( reward . getAmount ( ) ) + "" ) ) ; if ( format . contains ( "$reward_countdown" ) ) format = format . replace ( "$reward_countdown" , ( ( reward . getCountdown ( ) ) + "" ) ) ; } return format ; } public static GameProfile getGameProfileFromName ( String name ) { } public static JsonElement formatText ( JsonElement dataToFormat , Donation donation , Reward reward ) { } @ SuppressWarnings ( "ResultOfMethodCallIgnored" ) public static boolean isDouble ( String text ) { } public static void addWithEmptyLines ( ArrayList < String > list , String header ) { } public static String removeQuotes ( String s ) { } public static boolean rndSpawnPoint ( ArrayList < PointD > pointDs , Entity entity ) { } public static String readUrl ( URL url , String [ ] ... headers ) throws IOException { } @ SuppressWarnings ( "ResultOfMethodCallIgnored" ) public static boolean isInt ( String text ) { } public static double findMax ( Collection < Double > vals ) { } public static void sendChatToPlayer ( ICommandSender player , String message , EnumChatFormatting chatFormatting ) { } public static void sendChatToPlayer ( EntityPlayer player , String message ) { } public static int round ( double d ) { } public static void renderPoint ( PointI p , Tessellator tess , double r , double g , double b ) { } public static void renderPoint ( PointI p , Tessellator tess ) { } public static void renderPoint ( Tessellator tess , int x , int y , int z ) { } public static String makeTable ( Helper . TableData ... datas ) { } public static int getHeading ( EntityPlayer player ) { } public static boolean isPlayerOpped ( String username ) { } public static String MD5 ( String inputString ) { } public static void writeLongStringToByteBuf ( ByteBuf buf , String s ) { } public static String readLongStringToByteBuf ( ByteBuf buf ) { } public static String getTimeString ( int ms ) { } public static boolean checkTooBigForNetwork ( NBTTagCompound root ) { } public static boolean checkTooBigForNetwork ( JsonObject object ) { } public static final class TableData { public String header ; public ArrayList < String > strings ; private int width ; public TableData ( String header , ArrayList < String > data ) { } private void updateWidth ( ) { } } }

Fix:
format = format . replace ( "$streameruuid" , MinecraftServer . getServer ( ) . getConfigurationManager ( ) . func_152612_a ( donation . target ) . getGameProfile ( ) . getId ( ) . toString ( ) ) ;