Exquse me i dont even use eclipse to check syntax or anything but there you go..
static Hashtable<Integer, Integer> _hashTable = new Hashtable<Integer,Integer>();
public static HashMap<Integer, Integer> _StartingSupport = new HashMap(_hashTable);
public static void CheckPlayer(L2PcInstance player)
{
if (!_StartingSupport .isEmpty() && _StartingSupport .containsKey(player.getObjectId()))
{
player.setReceivedSupport(true);
// or idk what.
}
}
Why no? Avoid store at db and is a nice solution until server restart.. which again is not needed cause we speak for basic gear and basic buffs..
the 2nd integer is used to check the current state actualy 1 for the 1st window 2 for the 2nd window 3 for the rd window just to know in which window player is when he login