in itemhandler i think
Code:
public void createGroundItem(
under
add
Code:
if (itemId == 6570) {
return;
}
and in the givelife method add
Code:
c.getItems().addItem(6570,1);
first part should null out the firecape when u die. second part will add the item when u spawn. although ur going to want to make a check. for example
Code:
public boolean hasFCape = false;
in player.java
Code:
if (c.playerHasItem(6570,1) || c.playerEquipment[c.playerCape] == 6570) {
hasFCape = true;
}
in the applydead method. this is to determine if they actually have the cape. and instead put
Code:
if (hasFCape) {
c.getItems().addItem(6570,1);
c.hasFCape = false;
}
in givelife