hey i just got a jframe and had to re add my pker skull but when ever i do it just like old 1 it messes up and crashes my client i even tried making it a sprite in cient but still go same error
Code:
else if (s.equalsIgnoreCase("headicons_prayer") && i == 6)
{
try
{
Image image = Toolkit.getDefaultToolkit().getImage("Cache/Sprites/bh2.png");
//System.getProperty("user.dir") + "\\"+i+".png");
anInt1440 = 100;
anInt1441 = 100;
anIntArray1439 = new int[anInt1440 * anInt1441];
PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
pixelgrabber.grabPixels();
//System.out.println(s+" "+i+".png"+ " hopefully loaded");
}
catch (Exception exception)
{
System.out.println(((Object) (exception)));
}
}
and use prayskull = 64;
as that was code for old 1 any ideas??