prayagainstplayer: Remove unused var

This commit is contained in:
sdburns1998
2019-07-07 17:48:04 +02:00
parent 3c7d6eb564
commit beb1e828d2

View File

@@ -361,9 +361,7 @@ public class PrayAgainstPlayerPlugin extends Plugin
//All of the methods below are from the Zulrah plugin!!! Credits to it's respective owner //All of the methods below are from the Zulrah plugin!!! Credits to it's respective owner
private void loadProtectionIcons() private void loadProtectionIcons()
{ {
int curPosition = 0; for (int i = 0; i < PROTECTION_ICONS.length; i++)
for (int i = 0; i < PROTECTION_ICONS.length; i++, curPosition++)
{ {
final int resource = PROTECTION_ICONS[i]; final int resource = PROTECTION_ICONS[i];
ProtectionIcons[i] = rgbaToIndexedBufferedImage(ProtectionIconFromSprite(spriteManager.getSprite(resource, 0))); ProtectionIcons[i] = rgbaToIndexedBufferedImage(ProtectionIconFromSprite(spriteManager.getSprite(resource, 0)));