public void onPlayerJoin(SpoutPlayer player) { if ((player).isSpoutCraftEnabled()) { for (TLongObjectIterator<String> it = customNames.iterator(); it.hasNext(); ) { it.advance(); (player) .sendPacket( new PacketItemName( TIntPairHashSet.longToKey1(it.key()), (short) TIntPairHashSet.longToKey2(it.key()), it.value())); } } }